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

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.

主站蜘蛛池模板: 禄丰县| 苍溪县| 壶关县| 淮安市| 南和县| 仲巴县| 滨州市| 望都县| 墨江| 鹿邑县| 闽清县| 洪雅县| 原平市| 米易县| 县级市| 桐城市| 城固县| 邯郸县| 双城市| 胶州市| 丰都县| 山丹县| 清原| 内丘县| 台安县| 望江县| 清新县| 威远县| 北辰区| 本溪| 措勤县| 叙永县| 金溪县| 敦化市| 大名县| 台东县| 新龙县| 高要市| 太和县| 佛坪县| 招远市|