#toolchain #rustup #cargo

bin+lib cargo-toolchain

Utility to get information on active rustup toolchains

1 unstable release

0.1.0 Jul 3, 2020

#541 in Cargo plugins

Download history 7/week @ 2024-01-05 18/week @ 2024-01-12 1/week @ 2024-01-19 5/week @ 2024-02-02 2/week @ 2024-02-09 24/week @ 2024-02-16 20/week @ 2024-02-23 11/week @ 2024-03-01 20/week @ 2024-03-08 34/week @ 2024-03-15 15/week @ 2024-03-22 55/week @ 2024-03-29 26/week @ 2024-04-05

135 downloads per month
Used in 2 crates (via allow_prefixed)

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

~125KB