Skip to main content

Module ordering

Module ordering 

Source
Expand description

Dependency-aware startup ordering for services.

Computes startup stages from the depends_on metadata declared in #[service_factory] registrations. Services within the same stage have no mutual dependencies and can start in parallel; services in stage N depend only on services in stages 0..N-1.

Functionsยง

startup_stages
Compute startup stages from the factory dependency graph.
startup_stages_for_profile
Required native Discovery publishes through its owned state before Policy starts. Policy clients resolve signed bootstrap reach lazily until then.