Automate versioning, tagging, and publishing Rust crates to Crates.io using the cargo-release command.
Use cargo release to bump version numbers, create git tags, and publish crates to Crates.io in a single workflow. Run the following command in your crate root to perform a dry run first, then execute the actual release:
cargo release --dry-run
cargo release
This command automatically handles version bumps in Cargo.toml, commits changes, tags the release, and pushes to the remote repository before publishing.
cargo-release is a tool that automates the boring parts of publishing software updates. It handles version number changes, creates release tags, and uploads your code to the public library all at once. Think of it as a one-button solution to ensure your code is versioned correctly and shared with others without manual errors.