Cargo Reference - The Cargo Book

## Keyboard shortcuts

Press `←` or `→` to navigate between chapters

Press `S` or `/` to search in the book

Press `?` to show this help

Press `Esc` to hide this help

# Cargo Reference

The reference covers the details of various areas of Cargo.

- The Manifest Format
  - Cargo Targets
  - Rust version
- Workspaces
- Specifying Dependencies
  - Overriding Dependencies
  - Source Replacement
  - Dependency Resolution
- Features
  - Features Examples
- Profiles
- Configuration
- Environment Variables
- Build Scripts
  - Build Script Examples
- Build Cache
- Package ID Specifications
- External Tools
- Registries
  - Registry Authentication
    - Credential Provider Protocol
  - Running a Registry
    - Registry Index
    - Registry Web API
- SemVer Compatibility
- Future incompat report
- Reporting build timings
- Lints
- Unstable Features