Running cargo msrv revealed that the minimum Rust version of this crate is already 1.64.0 so bumping the Rust edition does not effect the minimum. Also caret requirements are looser than tilde but still semver compatible so it should be good to switch (when a version is just like "2.33" cargo defaults to caret requirements)
I have also decided to migrate the crate to clap 4 because clap 2 and 3 depend on an unmaintained crate with a potential security vulnerability https://rustsec.org/advisories/RUSTSEC-2021-0145
I have ran both cargo build and cargo test and everything still works
However, the migration to the latest version of clap 4 does raise the msrv to 1.74.1
Alternatively clap and clap_complete could be pinned at version 4.2.1 to instead only have an msrv increase to 1.67.1.
Since they bumped their internal dependencies in 4.2.2
Running
cargo msrv
revealed that the minimum Rust version of this crate is already 1.64.0 so bumping the Rust edition does not effect the minimum. Also caret requirements are looser than tilde but still semver compatible so it should be good to switch (when a version is just like "2.33"cargo
defaults to caret requirements)I have also decided to migrate the crate to clap 4 because clap 2 and 3 depend on an unmaintained crate with a potential security vulnerability https://rustsec.org/advisories/RUSTSEC-2021-0145
I placed the details on the migration to clap 4 in the corresponding commit message
I have ran both
cargo build
andcargo test
and everything still worksHowever, the migration to the latest version of clap 4 does raise the msrv to 1.74.1 Alternatively clap and clap_complete could be pinned at version 4.2.1 to instead only have an msrv increase to 1.67.1. Since they bumped their internal dependencies in 4.2.2
Feel free to ask any questions about this PR
Migration guide to clap 3 Migration guide to clap 4