| Crates.io | cargo-bump |
| lib.rs | cargo-bump |
| version | 1.1.0 |
| created_at | 2016-01-02 10:12:17.793954+00 |
| updated_at | 2019-06-16 15:37:59.445501+00 |
| description | Increments the version number of the current project. |
| homepage | |
| repository | https://github.com/wraithan/cargo-bump |
| max_upload_size | |
| id | 3809 |
| size | 28,197 |
This adds the command cargo bump which bumps the current version in your
Cargo.toml.
This is meant to be a clone of npm version with the pre* version specifiers
omitted as I rarely see the pre-release versions on crates.io.
It does not do the git operations but is still useful.
Install using cargo:
cargo install cargo-bump
Increment the patch version: cargo bump or cargo bump patch
Increment the minor version: cargo bump minor
Set the version number directly: cargo bump 13.3.7
USAGE:
cargo bump [FLAGS] [<version> | major | minor | patch]
FLAGS:
-h, --help Prints help information
-v, --version Prints version information
ARGS:
<version> Version should be a semver (https://semver.org/) string or the
position of the current version to increment: major, minor or patch.