#cargo-version #cargo-subcommand #cargo-workspace #cargo-dependencies

bin+lib cargo-set-version

A Cargo subcommand to set versions for crates in a workspace

4 releases

Uses new Rust 2024

new 0.0.4 Apr 28, 2026
0.0.3 Feb 9, 2026
0.0.2 Apr 29, 2025
0.0.1 Oct 23, 2024

#397 in Cargo plugins

Download history 605/week @ 2026-01-07 1106/week @ 2026-01-14 246/week @ 2026-01-21 283/week @ 2026-01-28 486/week @ 2026-02-04 227/week @ 2026-02-11 200/week @ 2026-02-18 183/week @ 2026-02-25 128/week @ 2026-03-04 213/week @ 2026-03-11 227/week @ 2026-03-18 165/week @ 2026-03-25 178/week @ 2026-04-01 202/week @ 2026-04-08 179/week @ 2026-04-15 96/week @ 2026-04-22

684 downloads per month

MIT license

9KB
139 lines

🎉 Cargo Set Version

Crates.io

Automatically update versions for all crates in your Rust workspace with ease! 🦀✨

✨ Features

  • Bulk Version Update: Change the version of all your workspace crates in one command!
  • Seamless Integration: Works as a Cargo plugin, making it a natural part of your Rust workflow.
  • Dependency Management: Automatically updates inter-crate dependencies to match the new version.

📦 Installation

To install cargo-set-version, ensure you have Rust and Cargo installed, then run:

cargo install cargo-set-version

🛠️ Usage

Navigate to the root of your Rust workspace and run:

cargo set-version <new_version>

Example

Suppose you want to update all your workspace crates to version 1.2.3. Simply execute:

cargo set-version 1.2.3

Dependencies

~1.7–3MB
~56K SLoC