semver_rs
pub fn cmp( a: &str, op: Operator, b: &str, opts: Option<Options>) -> Result<bool, Error>
Compares whether Version a matches the semver operator against Version b.
a
b