官术网_书友最值得收藏!

Third-party subcommands

cargo allows the extension of its command-line interface with subcommands. These subcommands are binaries that are called when invoking cargo <command> (for example, cargo clippy for the popular linter).

In order to install a new command (for a particular toolchain), run cargo +nightly install clippy, which will download, compile, and install a crate called cargo-clippy and then put it into the .cargo directory in your home folder. In fact, this will work with any binary that is called cargo-<something> and is executable from any command line. The cargo project keeps an updated list of some useful subcommands in the repository at https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands.

主站蜘蛛池模板: 安仁县| 上蔡县| 和硕县| 墨玉县| 保康县| 台江县| 峨眉山市| 长春市| 海原县| 佛教| 长海县| 莱芜市| 林甸县| 富蕴县| 安康市| 淅川县| 乌拉特前旗| 雅江县| 杂多县| 浙江省| 襄垣县| 涞水县| 涪陵区| 泸溪县| 囊谦县| 蓝田县| 兴化市| 南平市| 集安市| 锡林郭勒盟| 扬中市| 大化| 略阳县| 古田县| 宜城市| 海安县| 同江市| 绥棱县| 沐川县| 西平县| 扎囊县|