#cargo-version #version #version-bump #bump #cargo

unmaintained 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

#23 in #version-bump

Download history 278/week @ 2024-11-16 129/week @ 2024-11-23 135/week @ 2024-11-30 235/week @ 2024-12-07 350/week @ 2024-12-14 154/week @ 2024-12-21 172/week @ 2024-12-28 276/week @ 2025-01-04 244/week @ 2025-01-11 243/week @ 2025-01-18 265/week @ 2025-01-25 205/week @ 2025-02-01 261/week @ 2025-02-08 282/week @ 2025-02-15 314/week @ 2025-02-22 210/week @ 2025-03-01

1,112 downloads per month
Used in 2 crates

ISC license

28KB
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

~6MB
~109K SLoC