Skip to content

Cargo subcommand for managing versions in single and workspace Cargo.toml files (bump, set, list)

License

Notifications You must be signed in to change notification settings

sibman/cargo-verctl

🦀 cargo-verctl

CI License: MIT Crates.io

Cargo subcommand for managing versions across single crates and Rust workspaces.
Supports bump, set, list, and workspace-wide version management.

✨ Features

  • ✅ Bump patch/minor/major versions interactively or automatically
  • ✅ Set explicit versions (--set 1.0.0)
  • ✅ Detect and manage workspace subprojects independently
  • ✅ Create [package].version if missing
  • ✅ Cross-platform (Windows, macOS, Linux)
  • ✅ Perfect for CI/CD pipelines and Makefiles

📦 Installation

cargo install --git https://github.com/sibman/cargo-verctl

Then use it as a Cargo subcommand:

cargo verctl --help

🚀 Usage Examples

List crate versions

cargo verctl --list

Bump versions

cargo verctl --bump patch
cargo verctl --bump minor
cargo verctl --bump major

Set a specific version

cargo verctl --set 1.0.0

Manage workspace members

cargo verctl --bump patch
cargo verctl --only crate-a --set 1.0.0
cargo verctl --list

🧰 CI/CD Example

- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
  with:
    toolchain: stable
- run: cargo install --path .
- run: cargo verctl --auto --bump patch

⚖️ License

MIT License © 2025 Andrey Yelabugin (sibman)

About

Cargo subcommand for managing versions in single and workspace Cargo.toml files (bump, set, list)

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published