semver
semver copied to clipboard
Parser and evaluator for Cargo's flavor of Semantic Versioning
Not always we want Carot operator to be the default. There are cases such as in rust-lang/rustfmt#6066, as if user sets "1.0.0", "1.1.0" should not work as user set an...
It would be useful to be able to merge to VersionReq into one that only matches Versions that both individual requirements match. Something like this: ```rust fn intersect_with(self, other: VersionReq)...
## What 's this PR want to solve? The main purpose is to solve the `upper bound semantic` approved by [rfc#precise-pre-release-cargo-update](https://github.com/rust-lang/rfcs/pull/3493) it extends the matching mechanism of the pre-release version,...
By accident, I discovered that `VersionReq` can parse all 3 of `['*', 'x', 'X']` characters as a wildcard, while it is not documented either here nor in [cargo rust docs](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#version-requirement-syntax)....
I am trying to match all versions >=1.0.0 and =1.0.0-rc,
Hello! I would like to use the error type of `semver` in my project via `thiserror` like so: ```rust #[derive(Debug, thiserror::Error, PartialEq)] pub enum ParseError { /// An invalid semantic...
Creating this issue to discuss about for PartialVersion parsing. Currently [`Version::parse`](https://docs.rs/semver/latest/semver/struct.Version.html#method.parse) only supports parsing full versions (i.e., with at least a major, minor, and a patch). Would you be against...
[pubgrub-rs](https://github.com/pubgrub-rs/pubgrub) provides implementation for dependency tree resolution. I'm trying to integrate semver with pubgrub in my project. I want to implement the `pubgrub::VersionSet` trait for `semver::VersionReq`. Initially I thought of...