Function shuttle_common::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.”