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

app cargo-set-version

A Cargo subcommand to set versions for crates in a workspace

1 unstable release

0.0.1 Oct 23, 2024

#130 in #dependencies

Download history 142/week @ 2024-10-23 9/week @ 2024-10-30 10/week @ 2024-11-06

161 downloads per month

MIT license

6KB
67 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

~2.2–3.5MB
~65K SLoC