-
Notifications
You must be signed in to change notification settings - Fork 464
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
update clap and fix 1.69 clippy lints #18992
Conversation
This ended up causing a bunch of duplicate deps that I had to allow, so it will need another look! |
{ name = "windows-sys", version = "0.45.0" }, | ||
{ name = "windows-targets", version = "0.42.0" }, | ||
{ name = "windows_aarch64_gnullvm", version = "0.42.0" }, | ||
{ name = "windows_aarch64_msvc", version = "0.42.0" }, | ||
{ name = "windows_i686_gnu", version = "0.42.0" }, | ||
{ name = "windows_i686_msvc", version = "0.42.0" }, | ||
{ name = "windows_x86_64_gnullvm", version = "0.42.0" }, | ||
{ name = "windows_x86_64_gnu", version = "0.42.0" }, | ||
{ name = "windows_x86_64_msvc", version = "0.42.0" }, | ||
# Newer versions of crates like `tempfile` are held back by crates like `atty`. | ||
# This is very Unfortunate as we don't actually use these platforms. | ||
{ name = "hermit-abi", version = "0.1.6" }, | ||
{ name = "hermit-abi", version = "0.2.6" }, | ||
{ name = "redox_syscall", version = "0.2.10" }, |
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.
Oooof. I'm okay with this if you are willing to be on the hook for wrangling all these duplicate deps over time. (Periodically chasing new versions and sending dependency bump PRs around.)
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.
Yeah I can do that!
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'm also happy to help as I find myself wrangling many of these duplicates in the cloud repo too :-(
Clap v3 is going to be quite annoying going forward. It produces clippy lints that must be allowed at a module-level, which means introducing a new module. This can be cleaned up when: clap-rs/clap#4857 (comment) is resolved!
Other lints in 1.69 that came up weren't bad!
Motivation
Checklist
$T ⇔ Proto$T
mapping (possibly in a backwards-incompatible way) and therefore is tagged with aT-proto
label.