| Crates.io | cargo-verset |
| lib.rs | cargo-verset |
| version | 0.3.2 |
| created_at | 2025-01-01 20:36:15.807167+00 |
| updated_at | 2025-12-07 20:53:30.28705+00 |
| description | A cargo plugin to change the version of a package in the Cargo.toml file |
| homepage | |
| repository | https://github.com/bircni/cargo-verset |
| max_upload_size | |
| id | 1501067 |
| size | 42,917 |
cargo-verset is a tool to change the version in your Cargo.toml file.
cargo install cargo-verset
or with cargo binstall:
cargo binstall cargo-verset
Usage: cargo-verset <COMMAND>
Commands:
package Set the version of the package in a Cargo.toml file
dependency Set the version of a dependency in a Cargo.toml file
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
cargo verset package --ver 1.2.3
Sets the version of the package in the current Cargo.toml to 1.2.3.
With a path to another Cargo.toml:
cargo verset package --ver 2.0.0 --path ./some/crate
Dry run (shows the change without saving):
cargo verset package --ver 1.2.3 --dry-run
cargo verset dependency --name serde --ver 1.0.200
Sets the version of the dependency serde to 1.0.200 in the current Cargo.toml.
With registry and path:
cargo verset dependency --name serde --ver 1.0.200 --registry crates-io --path ./some/crate
Dry run:
cargo verset dependency --name serde --ver 1.0.200 --dry-run