-
Notifications
You must be signed in to change notification settings - Fork 131
chore(deps): update cargo dependencies #1499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates a large number of dependencies across the workspace. The changes primarily consist of version bumps in Cargo.toml
files and the necessary code modifications to address breaking changes from these updates. The fixes correctly handle API changes in crates like rustix
, toml
, and tempfile
, and also resolve new lifetime requirements in various function signatures. The code adaptations are well-executed and essential for the dependency upgrades. Overall, the changes are solid and contribute to the project's maintainability by keeping its dependencies current.
Remaining changes (to be pushed):
GitHub Copilot gave up on this too, and ended up removing the ocidir crate in frustration 😆 |
d74b5de
to
711154c
Compare
711154c
to
0f23840
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this!
openssh-keys = "0.6.4" | ||
rustix = { workspace = true } | ||
serde = { workspace = true, features = ["derive"] } | ||
serde_json = { workspace = true } | ||
serde_yaml = "0.9.22" | ||
serde_yaml = "0.9.34" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should actually be moving more of these common dependencies into the workspace - that's a different PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
➡️ #1501
Yeah we need to fix that for sure soon... |
a4dbaa3
to
427ba29
Compare
Signed-off-by: Robert Sturla <[email protected]>
427ba29
to
cabf430
Compare
Signed-off-by: Robert Sturla <[email protected]>
cabf430
to
a64ba5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect thank you!
1.6.0 just dropped, so I think it would be good to try and tackle this now while we have 3 weeks of testing.
An attempt to get Renovate back up and running on this repo. Updates all Cargo dependencies bar ocidir.
Looking through the changes, all make sense. There were some breakages which I have resolved, though I am counting on CI to confirm I haven't broken anything myself. The vast majority of the breaking changes were straight forward function swaps that don't appear to change functionality in a visible way to us.
Split minor/patch and major bumps into separate commits.
Changes (such as the lifetime ones) were ran through ChatGPT for a sanity check, to figure out why these were showing a warning and that the recommended fix is almost certainly correct.
Once merged, please close and delete the existing dependency update branch, and Renovate should take over next week.