dev bin+lib cargo-release

Cargo subcommand for you to smooth your release process

111 releases

new 0.24.8 Mar 21, 2023
0.24.4 Jan 12, 2023
0.24.1 Dec 13, 2022
0.24.0 Nov 28, 2022
0.2.1 Mar 17, 2016

#15 in Cargo plugins

Download history 947/week @ 2022-12-04 1298/week @ 2022-12-11 1272/week @ 2022-12-18 908/week @ 2022-12-25 1193/week @ 2023-01-01 1364/week @ 2023-01-08 1319/week @ 2023-01-15 1007/week @ 2023-01-22 1168/week @ 2023-01-29 1298/week @ 2023-02-05 1415/week @ 2023-02-12 1104/week @ 2023-02-19 1577/week @ 2023-02-26 1509/week @ 2023-03-05 1806/week @ 2023-03-12 1937/week @ 2023-03-19

6,968 downloads per month
Used in 11 crates



cargo release


  • Ensure you are in a good state for release, including:
    • Right branch
    • Up-to-date with remote
    • Clean tree
  • Supports workspaces using cargo's native flags, like --workspace, --exclude and --package
    • Updates dependent crates in workspace when changing version
    • Change detection to help guide in what crates might not need a release
    • Optionally share commits
  • Handles cargo publish, tagging, and pushing
  • Pre-release search and replace for custom version updates, including
    • Updating changelogs
    • Update tags in Dockerfiles
  • Pre-release hook for extra customization, including


Current release: 0.24.8

$ cargo install cargo-release


$ cargo release [level]
  • See the reference for more on level, other CLI arguments, and configuration file format.
  • See also the FAQ for help in figuring out how to adapt cargo-release to your workflow.


  • Your project should be managed by git.

Dry run

By default, cargo-release runs in dry-run mode so you can safely run it and verify what it will do.

  • Increase the logging level with each additional -v to get more details
  • Speed up dry-run by skipping cargo-publishs verify step with --no-verify

Once you are ready, pass the --execute flag.

Semver Compatibility

cargo-release's versioning tracks compatibility for the binaries, not the API. We upload to crates.io to distribute the binary. If using this as a library, be sure to pin the version with a = version requirement operator.


Licensed under either of


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~585K SLoC