1. Introduction
  2. 1. Getting Started
    1. 1.1. Installation
    2. 1.2. First Steps with Cargo
  3. 2. Cargo Guide
    1. 2.1. Why Cargo Exists
    2. 2.2. Creating a New Project
    3. 2.3. Working on an Existing Project
    4. 2.4. Dependencies
    5. 2.5. Project Layout
    6. 2.6. Cargo.toml vs Cargo.lock
    7. 2.7. Tests
    8. 2.8. Continuous Integration
    9. 2.9. Build Cache
  4. 3. Cargo Reference
    1. 3.1. Specifying Dependencies
    2. 3.2. The Manifest Format
    3. 3.3. Configuration
    4. 3.4. Environment Variables
    5. 3.5. Build Scripts
    6. 3.6. Publishing on crates.io
    7. 3.7. Package ID Specifications
    8. 3.8. Source Replacement
    9. 3.9. External Tools
    10. 3.10. Unstable Features
  5. 4. FAQ

The Cargo Book

Cargo Reference

The reference covers the details of various areas of Cargo.

  • Specifying Dependencies
  • The Manifest Format
  • Configuration
  • Environment Variables
  • Build Scripts
  • Publishing on crates.io
  • Package ID Specifications
  • Source Replacement
  • External Tools
  • Unstable Features