1. Introduction
  2. Getting Started
    1. Installation
    2. First Steps with Cargo
  3. Cargo Guide
    1. Why Cargo Exists
    2. Creating a New Package
    3. Working on an Existing Package
    4. Dependencies
    5. Package Layout
    6. Cargo.toml vs Cargo.lock
    7. Tests
    8. Continuous Integration
    9. Publishing on crates.io
    10. Cargo Home
  4. Cargo Reference
    1. The Manifest Format
      1. Cargo Targets
      2. Rust version
    2. Workspaces
    3. Specifying Dependencies
      1. Overriding Dependencies
      2. Source Replacement
      3. Dependency Resolution
    4. Features
      1. Features Examples
    5. Profiles
    6. Configuration
    7. Environment Variables
    8. Build Scripts
      1. Build Script Examples
    9. Build Cache
    10. Package ID Specifications
    11. External Tools
    12. Registries
      1. Registry Authentication
        1. Credential Provider Protocol
      2. Running a Registry
        1. Registry Index
        2. Registry Web API
    13. SemVer Compatibility
    14. Future incompat report
    15. Reporting build timings
    16. Lints
    17. Unstable Features
  5. Cargo Commands
    1. General Commands
      1. cargo
      2. cargo help
      3. cargo version
    2. Build Commands
      1. cargo bench
      2. cargo build
      3. cargo check
      4. cargo clean
      5. cargo clippy
      6. cargo doc
      7. cargo fetch
      8. cargo fix
      9. cargo fmt
      10. cargo miri
      11. cargo report
      12. cargo run
      13. cargo rustc
      14. cargo rustdoc
      15. cargo test
    3. Manifest Commands
      1. cargo add
      2. cargo generate-lockfile
      3. cargo info
      4. cargo locate-project
      5. cargo metadata
      6. cargo pkgid
      7. cargo remove
      8. cargo tree
      9. cargo update
      10. cargo vendor
    4. Package Commands
      1. cargo init
      2. cargo install
      3. cargo new
      4. cargo search
      5. cargo uninstall
    5. Publishing Commands
      1. cargo login
      2. cargo logout
      3. cargo owner
      4. cargo package
      5. cargo publish
      6. cargo yank
    6. Deprecated and Removed
  6. FAQ
  7. Appendix: Glossary
  8. Appendix: Git Authentication