- Mastering Rust
- Rahul Sharma Vesa Kaihlavirta
- 182字
- 2021-07-02 13:35:22
cargo-outdated
This command shows the outdated crate dependencies in your Cargo project. This can be installed by running cargo install cargo-outdated. Once installed, you can see the outdated crates (if any) by running cargo outdated within the project directory.
Now, the way these subcommands work seamlessly with Cargo is that developers create these binary crates with a naming convention, such as cargo-[cmd], and when you cargo install that binary crate, Cargo exposes the installed binary to your $PATH variable, which can then be invoked with cargo <cmd> . It's a simple and effective way that's been adopted by Cargo to extend itself with community developed subcommands. There are many other such extensions for Cargo. You can find a list of all community curated subcommands at https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands .
cargo install is also used to install any binary crates or executables/applications that are developed in Rust. They are installed in the /home/<user>/.cargo/bin/ directory by default. We'll use this to install our imgtool application—which we will build at the end of this chapter – to make it available system wide.
- Google Apps Script for Beginners
- 深入淺出DPDK
- Python Data Analysis(Second Edition)
- Kali Linux Wireless Penetration Testing Beginner's Guide(Third Edition)
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Terraform:多云、混合云環(huán)境下實(shí)現(xiàn)基礎(chǔ)設(shè)施即代碼(第2版)
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- Distributed Computing in Java 9
- 零基礎(chǔ)學(xué)C語言(升級(jí)版)
- ABAQUS6.14中文版有限元分析與實(shí)例詳解
- iOS開發(fā)項(xiàng)目化入門教程
- Functional Python Programming
- Java并發(fā)實(shí)現(xiàn)原理:JDK源碼剖析
- 歐姆龍PLC編程指令與梯形圖快速入門
- 生成藝術(shù):Processing視覺創(chuàng)意入門