Cargo Description
Cargo is the Rust package administrator. Cargo downloads your Rust packages' dependencies, compiles them, makes distributable packages, then uploads them to crates.io. This is the Rust community’s package registry. This book can be contributed to by anyone on GitHub. Install Cargo (and Rust), and create your first crate. You can interact with Cargo via its command-line interface by using the commands. A Rust-crate can be either a library, or an executable program. They are also known as binary crate and library crate. The term crate can refer to either the source code or the compiled artifact produced by the target. It could also refer to a compressed package that was downloaded from a registry. Your crates may depend on libraries from crates.io, other registries, repositories of git, or subdirectories in your local file system. Temporarily, you can override the dependency's location.