Guides

The Cargo Guide

40 modules

  1. 1. Cargo Mental Model and Package System
  2. 2. Project Creation and Scaffolding
  3. 3. Manifest Fundamentals: Understanding Cargo.toml
  4. 4. Manifest Target Sections: lib, bin, example, test, and bench
  5. 5. Core Cargo Command-Line Workflow
  6. 6. Dependency Declaration Fundamentals
  7. 7. Dependency Source Types
  8. 8. Version Requirements and SemVer
  9. 9. Dependency Resolution and Graph Behavior
  10. 10. Lockfiles and Reproducibility
  11. 11. Inspecting and Changing Dependencies
  12. 12. Feature System Fundamentals
  13. 13. Advanced Feature Design
  14. 14. Workspace Fundamentals
  15. 15. Advanced Workspace Architecture
  16. 16. Cargo Profiles and Optimization Controls
  17. 17. Build Caching, Target Directories, and Performance
  18. 18. Cargo Configuration System
  19. 19. Cargo Environment Variables
  20. 20. Package Selection and Command Scoping
  21. 21. Testing, Benchmarking, and Documentation Workflows
  22. 22. Build Scripts
  23. 23. Native Code and FFI Integration
  24. 24. Target Triples and Cross-Compilation
  25. 25. Runner and Linker Customization
  26. 26. Toolchain Interaction
  27. 27. Publishing Packages
  28. 28. Registries and Registry Operations
  29. 29. Authentication and Secrets Handling
  30. 30. Package Curation and Ecosystem Metadata
  31. 31. Cargo Install and Executable Distribution
  32. 32. Cargo Metadata and Machine-Readable Integration
  33. 33. Lints, Fixups, and Maintenance Commands
  34. 34. Patching, Overriding, and Local Development Loops
  35. 35. Vendoring, Offline, and Hermetic Builds
  36. 36. CI/CD with Cargo
  37. 37. Security and Supply-Chain Concerns
  38. 38. Troubleshooting and Diagnostics
  39. 39. Large-Scale Package Maintenance
  40. 40. Unstable and Nightly Cargo Features