#toolchain #rustup #cargo

bin+lib cargo-toolchain

Utility to get information on active rustup toolchains

1 unstable release

0.1.0 Jul 3, 2020

#457 in Cargo plugins

Download history 67/week @ 2024-09-02 22/week @ 2024-09-09 20/week @ 2024-09-16 97/week @ 2024-09-23 157/week @ 2024-09-30 18/week @ 2024-10-07 390/week @ 2024-10-14 43/week @ 2024-10-21 2/week @ 2024-10-28 57/week @ 2024-11-04 62/week @ 2024-11-11 219/week @ 2024-11-18 308/week @ 2024-11-25 426/week @ 2024-12-02 185/week @ 2024-12-09 163/week @ 2024-12-16

1,141 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