Skip to main content

Module bootstrap

Module bootstrap 

Source
Expand description

Composition root helpers: domain crate visibility, config load, shutdown signals.

Concrete adapters for vision/audio/api/… are feature-gated in their crates; this module ensures each domain crate is part of the engine binary and emits structured bootstrap logs.

Functions§

load_config
Load optional TOML/JSON config from disk when the path exists; otherwise continue with defaults.
log_domain_stack_init
Emit structured logs and resolve optional domain crate dependencies for the active feature set.
wait_for_shutdown_signal
Block until Ctrl-C or SIGTERM (Unix). Used as the engine main-loop shutdown trigger.