Crates.io | forgiving-semver |
lib.rs | forgiving-semver |
version | 0.11.0 |
source | src |
created_at | 2020-12-10 12:35:46.272187 |
updated_at | 2020-12-10 12:35:46.272187 |
description | Semantic version parsing and comparison. Fork of https://docs.rs/crate/semver which supports parsing outside of semver spec, e.g. "1.0" -> "1.0.0". |
homepage | https://docs.rs/crate/forgiving-semver/ |
repository | https://github.com/bausano/forgiving-semver |
max_upload_size | |
id | 321485 |
size | 99,308 |
Semantic version parsing and comparison. Fork of the semver
crate which adds support for parsing of versions outside of the semver spec, but popular in the wild.
Namely we extend the parent crate to support:
"x.y" => "x.y.0"
"x" => "x.0.0"
For more information about every other aspect see the parent crate.
To use forgiving_semver
, add this to your [dependencies]
section:
forgiving_semver = "0.11.0"