Skip to main content

VERSION

Constant VERSION 

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

The version of this crate, taken from Cargo.toml at compile time.

Exposed so a consumer can report the exact rate-net build it links against — useful in diagnostics and version-skew checks across a dependency tree.

§Examples

// Carries a `major.minor.patch` SemVer core.
let version = rate_net::VERSION;
assert_eq!(version.split('.').count(), 3);
assert!(version.split('.').all(|part| !part.is_empty()));