2 unstable releases
Uses new Rust 2024
new 0.2.0 | Apr 22, 2025 |
---|---|
0.1.1 | Apr 20, 2025 |
0.1.0 |
|
#181 in Cargo plugins
256 downloads per month
17KB
120 lines
Cargo Toolchain Manager
cargo-toolchain-manager
๐ฆ A CLI utility to install all (or selected) Rust versions via rustup
.
Useful for developers, CI/CD pipelines, and testing environments where multiple Rust versions are required.
๐ Features
- โ Install all stable versions of Rust
- ๐ข Filter versions using
semver
ranges - ๐งช
--dry-run
mode to preview without installing
๐ฆ Installation
cargo install cargo-toolchain-manager
# Or install from Git:
cargo install --git https://github.com/your-username/cargo-toolchain
๐ง Usage Examples
# Install all stable versions
cargo toolchain-manager
# Dry-run without installing
cargo toolchain-manager --dry-run
# Install versions in a specific semver range
cargo toolchain-manager --range ">=1.60.0, <1.70.0"
๐ CLI Options
Option | Description |
---|---|
--dry-run | Only list versions that would be installed |
--range | Filter versions with a semver range |
๐ Requirements
- Rustup
- Rust installed
๐ License
MIT
Dependencies
~9โ22MB
~298K SLoC