Parser and evaluator for Cargo's flavor of Semantic Versioning
Parser and evaluator for Cargo's flavor of Semantic Versioning
A parser and evaluator for Cargo's flavor of Semantic Versioning.
Semantic Versioning (see ) is a guideline for how version numbers are assigned and incremented. It is widely followed within the Cargo/crates.io ecosystem for Rust.
[dependencies]
semver = "1.0"use semver::{BuildMetadata, Prerelease, Version, VersionReq};
fn main() {
let req = VersionReq::parse(">=1.2.3,
Licensed under either of Apache License, Version
2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.No open issues yet, or sync has not completed.