Expand description
The composition root (ADR-0004).
A product assembles its application here — and nowhere else. There is no global state and no runtime service lookup by string: a missing dependency is a build error, and the builder call itself documents the product’s architecture.
let app = ApplicationBuilder::in_memory().build().unwrap();
assert!(app.modules().is_empty());Structs§
- AppInfo
- Product identity, as the frontend needs it to render the shell.
- Application
- A fully assembled application.
- Application
Builder - Assembles an
Applicationfrom ports and modules. - Module
Registry - What a module registers into during startup.
- Platform
- The platform services every module may rely on.
Enums§
Traits§
- Application
Module - A cohesive feature area — Inbox, Projects, Traffic, Health.