#toolchain #rustup #cargo

bin+lib cargo-toolchain

Utility to get information on active rustup toolchains

1 unstable release

0.1.0 Jul 3, 2020

#482 in Cargo plugins

Download history 18/week @ 2024-03-11 37/week @ 2024-03-18 16/week @ 2024-03-25 64/week @ 2024-04-01 26/week @ 2024-04-08 45/week @ 2024-04-15 24/week @ 2024-04-22 20/week @ 2024-05-06 12/week @ 2024-05-13 11/week @ 2024-05-20 9/week @ 2024-06-03 40/week @ 2024-06-10 250/week @ 2024-06-17 17/week @ 2024-06-24

316 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

7KB
71 lines

cargo-toolchain

cargo-toolchain is a utility to get the currently active and default rustup toolchains.

It requires that rustup is installed.

Usage as a CLI

cargo install cargo-toolchain

cargo toolchain # prints the currently active cargo toolchain, e.g. 'stable'

cargo toolchain -d # prints the default toolchain for the directory

cargo toolchain -h # print help message

Usage as a Library

https://docs.rs/cargo-toolchain


lib.rs:

cargo-toolchain

cargo-toolchain is a utility to get the currently active and default rustup toolchains.

It requires that rustup is installed.

Usage as a CLI

cargo install cargo-toolchain

cargo toolchain # prints the currently active cargo toolchain, e.g. 'stable'

cargo toolchain -d # prints the default toolchain for the directory

cargo toolchain -h # print help message

Dependencies

~130KB