cargo-toolchain 0.1.0

Utility to get information on active rustup toolchains
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 4 items with examples
  • Size
  • Source code size: 6.13 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.12 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ian-fox/cargo-toolchain
    4 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ian-fox

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