cargo-release for Mac
cargo release Streamline your crate release process
cargo-release — overview
cargo release Streamline your crate release process
cargo release extends cargo publish with common release practices like validation, version management, tagging, and pushing. The process is customizable but with defaults that should help you get up and running quickly.
Features include: 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 CHANGELOG generation
Install
Current release: 1.1.7
Usage
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.
Prerequisite
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.
Note: the packaging and verifying steps will list the current version and not the bumped version because cargo release delegates to cargo publish which does not know about the in-memory-only version bump (#890).
Related tools release-pr Action cargo-smart-release cargo-set-version cargo-unleash release-plz cargo-workspaces
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.
License
Licensed under either of
Apache License, Version 2.0, (LICENSE-APACHE or ) MIT license (LICENSE-MIT or )
at your option.
Contribution
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.
Details
Cargo 子命令 `release`:关于发布 Rust 包的所有内容
How to install cargo-release
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-10-21; current version v1.1.7, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v1.1.7 | 2026-10-21 | Stable | 2.5 MB | Download | Download | Download |
| v1.1.6 | 2026-09-16 | Stable | 3.0 MB | Download | Download | Download |
| v1.1.5 | 2026-08-11 | Stable | 2.9 MB | Download | Download | Download |
| v1.1.0 | 2026-07-10 | Stable | 2.8 MB | Download | Download | — |
| v1.0.0 | 2026-07-10 | Stable | 2.8 MB | Download | Download | — |
| v0.25.22 | 2026-07-10 | Stable | 2.9 MB | Download | Download | — |
| v0.25.21 | 2026-07-10 | Stable | 2.9 MB | Download | Download | — |
| v0.25.20 | 2026-07-10 | Stable | 2.9 MB | Download | Download | — |
| v1.1.2 | 2026-03-24 | Stable | 2.9 MB | Download | Download | Download |
| v1.1.1 | 2026-02-24 | Stable | 2.8 MB | Download | Download | Download |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Linux · ARM64
- Linux · x86_64
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| cargo-release | v1.1.7 | Apache-2.0 OR MIT | CLI | 39 |
| rustpython | 0.6.0 | MIT | CLI | 36 |
| wally | v0.3.2 | MPL-2.0 | CLI | 39 |
| cargo-shear | v1.14.0 | MIT | CLI | 39 |
Similar apps: Command-line Tools
rustpython
Python Interpreter written in Rustwally
Modern package manager for Roblox projects inspired by Cargocargo-shear
Detect and fix issues in Rust projects: Unused dependencies in Cargo.cbindgen
cbindgen [![Build Status]][actions] [![Latest Version]][crates.io] [![Api Rustdoc]][rustdoc]openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratioCategories: Command-line Tools