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-versionon cargo.io I discovered that the cratecargo-editinstalls the subcommandcargo set-version.Installation works as follows:
As @Shirshak55 mentioned:
cargo-editprovidescargo add,cargo rm,cargo upgrade,cargo set-version