2 releases
0.1.1 | May 21, 2024 |
---|---|
0.1.0 | May 21, 2024 |
#228 in Cargo plugins
9KB
184 lines
cargo-switch
🦀🔃
cargo-switch
allows you to install several versions of the same Cargo binary crate and switch between them easily.
Example
% cargo-switch list
sqlx-cli:
- 0.6.3
% cargo-switch install sqlx-cli@0.7.2
...
% cargo-switch list
sqlx-cli:
- 0.6.3
- 0.7.2
% cargo-switch sqlx-cli@0.6.3
% sqlx --version
sqlx-cli 0.6.3
% cargo-switch sqlx-cli@0.7.2
% sqlx --version
sqlx-cli 0.7.2
Dependencies
~1.2–1.8MB
~35K SLoC