forked from kpcyrd/cargo-debstatus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
is_compatible: Use semver::VersionReq to check compatibility
The hand-crafted compatibility check was incorrectly returning true with debversion 0.1.0 and crateversion 0.1.1. The patch version should be honored if it's specified. Since the semver crate is already being used, use semver::VersionReq to check compatibility. Signed-off-by: James McCoy <jamessan@debian.org>
- Loading branch information
Showing
1 changed file
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters