Registry / utility / versions

versions

JSON →
library7.0.0rscratesunverified

A library for parsing and comparing software version numbers.

# Cargo.toml [dependencies] versions = "7.0.0"
INSTALL
IMPORT
SIG · VERSIONS
V
versions
utilityrustv7.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Versioning
use versions::Versioning;

Parse and compare version strings.

use versions::Versioning; fn main() { let v1 = Versioning::new("1.2.3").unwrap(); let v2 = Versioning::new("1.2.4").unwrap(); assert!(v1 < v2); println!("Versions compared successfully"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
versions — cargo add versions · libregistry