forked from bazelbuild/rules_rust
-
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.
Split CrateID CrateNameAndVersionReq (bazelbuild#2525)
Currently we use the same CrateId type for two contexts: A known crate name + version, and in an annotation to specify a version requirement that an annotation applies to. These are different use-cases, and neither should use String to represent a the version. Also, update CrateId to use a `semver::Version` (which is required, not optional).
- Loading branch information
Showing
10 changed files
with
537 additions
and
154 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
Oops, something went wrong.