Compare version fields' equalities directly
Compare version fields' equalities directly

Instead of creating another VersionReq, this can reduce some extra
efforts on version matching logic. Though it also may introduces
divergence from semver's matching logic. Accordingly, we borrow unit
tests from semver crate and compare the matching results to prevent
future breaks.

eminence/cargo,nipunn1313/cargo,rustyhorde/cargo,nipunn1313/cargo,rust-lang/cargo,rust-lang/cargo,rustyhorde/cargo,rustyhorde/cargo,eminence/cargo,nipunn1313/cargo,rust-lang/cargo,eminence/cargo,rust-lang/cargo,nipunn1313/cargo,eminence/cargo,rustyhorde/cargo