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