Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit clap to < 3.2 to avoid pointless deprecation warnings
clap >= 3.2 adds no value, so let them figure out what they want first. This sounds like change for the sake of change. See also clap-rs/clap#3822
- Loading branch information
1 parent
bcca9ae
commit fc8765f
Showing
1 changed file
with
1 addition
and
1 deletion.
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
1 comment
on commit fc8765f
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've seen the deprecation warnings after a local cargo update
. Having Cargo.lock
checked in would not have changed that.
This can now be reverted as deprecations are now off by default, see clap-rs/clap#3830 for details. When you do start working through the deprecations as part of upgrading to 4.0, we've also improved the warnings for derive users. See clap-rs/clap#3832 for examples.
btw is there a reason this project doesn't check-in the
Cargo.lock
? Generally, it is recommended to do so for programs and that would have prevented the unintended upgrade rather than needing to pin the dependency.