#rustup-toolchain #rustup

bin+lib cargo-toolchain

Utility to get information on active rustup toolchains

1 unstable release

0.1.0 Jul 3, 2020

#736 in Cargo plugins

Download history 405/week @ 2025-09-30 617/week @ 2025-10-07 876/week @ 2025-10-14 618/week @ 2025-10-21 206/week @ 2025-10-28 526/week @ 2025-11-04 290/week @ 2025-11-11 701/week @ 2025-11-18 308/week @ 2025-11-25 611/week @ 2025-12-02 238/week @ 2025-12-09 104/week @ 2025-12-16 339/week @ 2025-12-23 407/week @ 2025-12-30 526/week @ 2026-01-06 738/week @ 2026-01-13

2,021 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

Dependencies

~135KB