The Cargo Book

Cargo Logo

Cargo is the Rustpackage manager. Cargo downloads your Rust package’sdependencies, compiles your packages, makes distributable packages, and uploads them tocrates.io, the Rust community’s package registry. You can contributeto this book on GitHub.

Sections

Getting Started

To get started with Cargo, install Cargo (and Rust) and set up your first crate.

Cargo Guide

The guide will give you all you need to know about how to use Cargo to developRust packages.

Cargo Reference

The reference covers the details of various areas of Cargo.

Frequently Asked Questions