shuttle_common

Function semvers_are_compatible

Source
pub fn semvers_are_compatible(a: &Version, b: &Version) -> bool
Expand description

Check if two versions are compatible based on the rule used by cargo: “Versions a and b are compatible if their left-most nonzero digit is the same.”