cargo-set-version

Crates.iocargo-set-version
lib.rscargo-set-version
version0.0.1
sourcesrc
created_at2024-10-23 08:06:11.70736
updated_at2024-10-23 08:06:11.70736
descriptionA Cargo subcommand to set versions for crates in a workspace.
homepage
repositoryhttps://github.com/piot/cargo-set-version
max_upload_size
id1419813
size12,135
Peter Bjorklund (piot)

documentation

README

🎉 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
Commit count: 2

cargo fmt