Skip to main content

Crate origin_app

Crate origin_app 

Source
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.
ApplicationBuilder
Assembles an Application from ports and modules.
ModuleRegistry
What a module registers into during startup.
Platform
The platform services every module may rely on.

Enums§

BuildError

Traits§

ApplicationModule
A cohesive feature area — Inbox, Projects, Traffic, Health.