Bumper

Bumps your Cargo.toml version numbers.

How?

It finds Cargo.toml in your current working directory, and edits the version. If you don't specify anything, it bumps the patch version. You can also tell it to bump the major or minor versions.

When you bump a number, the versions under it reset to zero automatically.

Bump the patch version

$ bumper
0.2.2 -> 0.2.3

or

$ bumper patch
0.2.3 -> 0.2.4

Bump the minor version

$ bumper minor
0.2.4 -> 0.3.0

Bump the major version

$ bumper major
0.3.0 -> 1.0.0

Install it

$ cargo install --git https://github.com/segfaultsourcery/bumper-rs