#cargo #version #bump

app cargo-bump

Increments the version number of the current project

6 releases (stable)

Uses old Rust 2015

1.1.0 Jun 16, 2019
1.0.2 Aug 23, 2017
1.0.0 Aug 10, 2017
0.0.1 Jan 3, 2016
0.0.0 Jan 2, 2016

#6 in #bump

Download history 14/week @ 2020-12-17 9/week @ 2020-12-24 38/week @ 2020-12-31 31/week @ 2021-01-07 41/week @ 2021-01-14 14/week @ 2021-01-21 19/week @ 2021-01-28 29/week @ 2021-02-04 39/week @ 2021-02-11 49/week @ 2021-02-18 52/week @ 2021-02-25 23/week @ 2021-03-04 70/week @ 2021-03-11 101/week @ 2021-03-18 197/week @ 2021-03-25 28/week @ 2021-04-01

128 downloads per month

ISC license

27KB
804 lines

crates.io build status

cargo-bump

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.

installation

Install using cargo:

cargo install cargo-bump

examples

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

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.

Dependencies

~3–4.5MB
~86K SLoC