- Hands-On Data Structures and Algorithms with Rust
- Claus Matzinger
- 103字
- 2021-07-02 14:11:46
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.
推薦閱讀
- Python絕技:運用Python成為頂級數據工程師
- Python數據挖掘:入門、進階與實用案例分析
- 信息系統與數據科學
- 數據庫應用基礎教程(Visual FoxPro 9.0)
- Hadoop大數據實戰權威指南(第2版)
- 數據庫原理與應用(Oracle版)
- 數據科學工程實踐:用戶行為分析與建模、A/B實驗、SQLFlow
- 辦公應用與計算思維案例教程
- INSTANT Apple iBooks How-to
- HikariCP連接池實戰
- 智慧的云計算
- 數據指標體系:構建方法與應用實踐
- MySQL數據庫實用教程
- Learn Selenium
- Hands-On Java Deep Learning for Computer Vision