- 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.
- The Modern C++ Challenge
- vSphere High Performance Cookbook
- Bootstrap Essentials
- 手把手教你學C語言
- 學Python也可以這么有趣
- Drupal 8 Module Development
- Unity 5 for Android Essentials
- 學習正則表達式
- Mastering Xamarin.Forms(Second Edition)
- 響應式Web設計:HTML5和CSS3實戰(第2版)
- Orleans:構建高性能分布式Actor服務
- Practical GIS
- 從零開始:C語言快速入門教程
- Selenium WebDriver Practical Guide
- Web前端測試與集成:Jasmine/Selenium/Protractor/Jenkins的最佳實踐