🦀
🏗️
Practices

Rust Engineering Practices

Build scripts, cross-compilation, CI/CD, Miri — production-grade engineering workflows.

4 parts14 chapters
Start Reading

For Teams shipping Rust

Table of Contents

0Introduction
Part I — Build & Ship
1. Build Scripts — build.rs in Depth
2. Cross-Compilation — One Source, Many Targets
Part II — Measure & Verify
3. Benchmarking — Measuring What Matters
4. Code Coverage — Seeing What Tests Miss
5. Miri, Valgrind, and Sanitizers — Verifying Unsafe Code
Part III — Harden & Optimize
6. Dependency Management and Supply Chain Security
7. Release Profiles and Binary Size
8. Compile-Time and Developer Tools
9. `no_std` and Feature Verification
10. Windows and Conditional Compilation
Part IV — Integrate
11. Putting It All Together — A Production CI/CD Pipeline
12. Tricks from the Trenches
13. Quick Reference Card

microsoft/RustTraining — MIT & CC BY 4.0

@KhandakarRuhanv3.2.1