Skip to content

Glossary: Rust Beyond the Basics

cargo add

A Cargo command that adds a crate (library) to your project, optionally with features switched on, as in `cargo add serde --features derive`.

Where the book teaches it

Related terms

cratefeature