[DRAFT] Update cargo_metadata to 0.20 and cargo-platform to 0.2#105
Closed
musicinmybrain wants to merge 1 commit intoEmbarkStudios:mainfrom
Closed
[DRAFT] Update cargo_metadata to 0.20 and cargo-platform to 0.2#105musicinmybrain wants to merge 1 commit intoEmbarkStudios:mainfrom
musicinmybrain wants to merge 1 commit intoEmbarkStudios:mainfrom
Conversation
6df4c7a to
b7f742f
Compare
Contributor
Author
|
Oops, this fails when the That suggests that “peephole” adaptation to |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Description of Changes
Update cargo_metadata to 0.20 and cargo-platform to 0.2, the last release compatible with the chosen MSRV of 1.85.
It looks like these can be further updated to cargo_metadata 0.23 and cargo-platform 0.3, the latest releases, without additional source-code changes, if the MSRV is advanced to 1.86.
My goal here is to update the packaged cargo-deny in Fedora without having to maintain a
rust-cargo_metadata0.19compat package indefinitely.The cargo_metadata project doesn’t really keep detailed changelogs, but the changes that required source-code changes can be reviewed in oli-obk/cargo_metadata@0.19.2...0.20.0.
I made a reasonable effort to adapt to the changes in the cargo_metadata API sensibly, but I am not familiar with krates, and I have more experience packaging Rust code than writing it, so review would be appreciated.
I tested this with
cargo test --all-features.Related Issues
N/A