Rust MOC
This map provides a structured traversal of the Rust Programming Language, optimized for agentic retrieval and human reference.
Fundamentals
- rust: Language overview and philosophy.
- rust-ownership: The core rules of memory safety.
- rust-variables-and-types: Mutability, shadowing, and scalar/compound types.
- rust-functions-and-control-flow: Expression-based logic and branching.
Data Structures
- rust-structs: Grouping related data.
- rust-enums: Enumerations and the power of
OptionandResult. - rust-collections: Vectors, Strings, and HashMaps.
Code Organization
- rust-modules-and-packages: Crates, paths, and visibility.
- rust-error-handling:
panic!vs.Result. - rust-macros: Declarative and procedural metaprogramming.
Advanced Abstractions
- rust-generics-and-traits: Defining shared behavior.
- rust-lifetimes: Ensuring reference validity.
- rust-iterators-and-closures: Functional features in Rust.
- rust-smart-pointers:
Box,Rc,RefCell, and memory management.
Vault Applications
- rust-tier-0-patterns: Safe Core — capability gating, serde boundary, Tier-0 → Tier-1 handoff.
- rust-mcp-patterns: Building secure, high-performance MCP servers.
- rust-sqlx-migrations: Database tooling for the Rust service layer.
Type System Theory
- rust-phantom-types: Zero-cost type-level state encoding.
- rust-type-level-programming: GATs, const generics, and type-level computation.
- rust-affine-types: Rust's ownership as a formal type-theoretic system.
Concurrency & Async
- rust-concurrency: Threads and message passing.
- rust-async: Futures, async/await, and non-blocking I/O.
Tooling
- rust-cargo: The build system and package manager.
- rust-testing: Unit and integration tests.