#cargo #cargo-subcommand #dependencies #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

#118 in #dependencies

Download history 141/week @ 2024-10-21

141 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
~64K SLoC