I'm trying to run a script that requires the cargo subcommand cargo set-version --workspace --bump="${2:-}".
How do I install it?
Google results only returned cargo install set-cargo-version but that is actually a different crate, not the one I need here, as I found out after installing.
Searching for set-version on cargo.io I discovered that the crate cargo-edit installs the subcommand cargo set-version.
Installation works as follows:
cargo install cargo-edit
As @Shirshak55 mentioned: cargo-edit provides cargo add, cargo rm, cargo upgrade, cargo set-version