- 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成為頂級數據工程師
- 數據庫技術與應用教程(Access)
- 數據庫基礎與應用:Access 2010
- 大數據可視化
- Python廣告數據挖掘與分析實戰
- 企業大數據系統構建實戰:技術、架構、實施與應用
- 數據庫應用基礎教程(Visual FoxPro 9.0)
- 區塊鏈通俗讀本
- 數據庫系統原理及應用教程(第4版)
- 算法與數據中臺:基于Google、Facebook與微博實踐
- WS-BPEL 2.0 Beginner's Guide
- OracleDBA實戰攻略:運維管理、診斷優化、高可用與最佳實踐
- INSTANT Apple iBooks How-to
- SAS金融數據挖掘與建模:系統方法與案例解析
- 爬蟲實戰:從數據到產品