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

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.

主站蜘蛛池模板: 册亨县| 平江县| 蚌埠市| 稻城县| 青州市| 清河县| 长宁县| 青岛市| 彭水| 龙川县| 莲花县| 栾川县| 华安县| 巨鹿县| 灌阳县| 河西区| 南召县| 镇康县| 翼城县| 临清市| 榆中县| 农安县| 绥宁县| 镇宁| 定襄县| 嵊州市| 新平| 陵川县| 德清县| 东台市| 休宁县| 芜湖县| 额济纳旗| 宿松县| 南皮县| 盘山县| 印江| 山丹县| 吴堡县| 娄底市| 东海县|