Introduction - The Cargo Book (original) (raw)
The Cargo Book
The Cargo Book
Cargo is the Rust [_package manager_](./appendix/glossary.html#package-manager ""package manager" (glossary entry)"). Cargo downloads your Rust [package](./appendix/glossary.html#package ""package" (glossary entry)")’s dependencies, compiles your packages, makes distributable packages, and uploads them tocrates.io, the Rust community’s [_package registry_](./appendix/glossary.html#package-registry ""package registry" (glossary entry)"). You can contribute to this book on GitHub.
Sections
To get started with Cargo, install Cargo (and Rust) and set up your first[_crate_](./appendix/glossary.html#crate ""crate" (glossary entry)").
The guide will give you all you need to know about how to use Cargo to develop Rust packages.
The reference covers the details of various areas of Cargo.
The commands will let you interact with Cargo using its command-line interface.
Appendices:
Other Documentation:
- Changelog— Detailed notes about changes in Cargo in each release.
- Rust documentation website — Links to official Rust documentation and tools.