Crates.io | semver_constraints |
lib.rs | semver_constraints |
version | 0.1.0 |
source | src |
created_at | 2019-04-03 05:13:53.406416 |
updated_at | 2019-04-03 05:13:53.406416 |
description | More robust and nuanced semantic version constraints. |
homepage | |
repository | https://github.com/elba/semver_constraints |
max_upload_size | |
id | 125544 |
size | 43,155 |
...because I don't like semver::VersionReq
.
Add this to your Cargo.toml
:
[dependencies]
# ...snip
# you'll probably want to use versions if you're using version
# constraints
semver = "0.9"
# the actual constraints library
semver_constraints = "0.1"
# if you want to use serde:
# semver_constraints = { version = "0.1", features = ["serde"] }
See the crate docs for motivation and info on the API.
semver_constraints is distributed under the MIT License.