Skip to main content

VERSION

Constant VERSION 

Source
pub const VERSION: &str = "1.0.0";
Expand description

Library version string.

This constant provides the current version of the subx-core library, automatically populated from Cargo.toml at compile time. It reports this crate’s own version and is independent of the version of any consumer such as subx-cli.

§Examples

use subx_core::VERSION;

// The version is always present and follows semver.
assert!(!VERSION.is_empty());
assert!(VERSION.split('.').next().is_some());