1 个不稳定版本
0.1.0 | 2020 年 7 月 3 日 |
---|
#482 在 Cargo 插件
每月 316 次下载
在 3 个 包中使用(2 个直接使用)
7KB
71 行
cargo-toolchain
cargo-toolchain
是一个实用工具,用于获取当前活动且默认的 rustup 工具链。
它要求已安装 rustup。
作为 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
作为库的用法
lib.rs
:
cargo-toolchain
cargo-toolchain
是一个实用工具,用于获取当前活动且默认的 rustup 工具链。
它要求已安装 rustup。
作为 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
依赖项
~130KB