1 unstable release
0.1.0 | Dec 9, 2023 |
---|
#705 in Cargo plugins
34KB
160 lines
cargo-semver-bump
🚧 WORK IN PROGRESS 🚧
This tool is still in early ydevelopment and not ready for production use. Breaking changes may occur at any time.
cargo-semver-bump is a tool to automatically bump the version of your Rust crate based on the Conventional Commits specification and breaking changes detected by cargo-semver-checks.
Installation
From crates.io
cargo install cargo-semver-bump --locked
Usage
Just run the following command in your project directory:
cargo semver-bump
More options are available:
$ cargo semver-bump --help
Usage: cargo semver-bump [OPTIONS]
Options:
-d, --dry-run Run without making any changes
-p, --path <PATH> Path to project [default: ./]
-v, --verbose Enable verbose output
-h, --help Print help
-V, --version Print version
Limitations
- Only works with Git repositories
- Only works with Cargo.toml files in the root of the repository
- Limitations of cargo-semver-checks
Contributing
See the contributing guidelines for more information.
License
This code is licensed under either of
at your option.
Dependencies
~39–56MB
~1M SLoC