📚 Knowledge Garden

Search

Search IconIcon to open search

Cargo

Last updated Aug 13, 2023

Cargo is Rust’s build system and package manager. It downloads, compiles, distributes, and uploads packages—called crates—that are maintained in an official registry. It also acts as a front-end for Clippy and other Rust components.

By default, Cargo sources its dependencies from the user-contributed registry crates.io, but Git repositories and crates in the local filesystem, and other external sources can also be specified as dependencies.