#toolchain

bin+lib cargo-toolchain

Utility to get information on active rustup toolchains

1 unstable release

0.1.0 Jul 3, 2020

#466 in Cargo plugins

Download history 21/week @ 2024-07-20 77/week @ 2024-07-27 117/week @ 2024-08-03 24/week @ 2024-08-10 27/week @ 2024-08-17 133/week @ 2024-08-24 50/week @ 2024-08-31 49/week @ 2024-09-07 19/week @ 2024-09-14 68/week @ 2024-09-21 172/week @ 2024-09-28 32/week @ 2024-10-05 56/week @ 2024-10-12 376/week @ 2024-10-19 5/week @ 2024-10-26 54/week @ 2024-11-02

494 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

~135KB