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 cratecargo-edit
installs the subcommandcargo set-version
.Installation works as follows:
As @Shirshak55 mentioned:
cargo-edit
providescargo add
,cargo rm
,cargo upgrade
,cargo set-version