This crate provides a simple SemVer 2.0 implementation.
SemVer structs can be converted to/from strings, and can be compared.
This crate exists because the "semver" crate is "for Cargo's flavor of Semantic Versioning", whereas this crate structly follows the semver 2.0 specification.
```rust use yad_semver::SemVer;
// You can create SemVer structs in place let v1 = SemVer::new(1, 0, 0, None, None);
// Or from strings
let v2 = "2.0.0-alpha".parse::
// SemVers can be compared and displayed use std::cmp::max; println!("The newest version is {}", max(v1, v2)); ```