#cargo-dependencies #version #cargo #dependencies #command #cargo-set-version

app cargo-set-version

A Cargo subcommand to set versions for crates in a workspace

2 releases

Uses new Rust 2024

new 0.0.2 Apr 29, 2025
0.0.1 Oct 23, 2024

#115 in Cargo plugins

Download history 24/week @ 2025-01-09 2/week @ 2025-01-16 7/week @ 2025-01-23 11/week @ 2025-01-30 15/week @ 2025-02-06 10/week @ 2025-02-13 11/week @ 2025-02-20 32/week @ 2025-02-27 193/week @ 2025-03-06 139/week @ 2025-03-13 194/week @ 2025-03-20 87/week @ 2025-03-27 81/week @ 2025-04-03 106/week @ 2025-04-10 76/week @ 2025-04-17 218/week @ 2025-04-24

489 downloads per month

MIT license

8KB
113 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–3MB
~63K SLoC