meridian_engine_core/lib.rs
1//! Runtime: frame scheduler, event system, subsystem manager; ties every other crate into the main loop.
2
3/// Owns subsystem instances and drives the frame loop.
4#[derive(Debug, Default)]
5pub struct Runtime;
6
7/// Builds and runs the per-frame job graph across every subsystem.
8#[derive(Debug, Default)]
9pub struct FrameScheduler;
10
11/// Workspace-wide event bus.
12#[derive(Debug, Default)]
13pub struct EventSystem;
14
15/// Registry of active subsystems for the current `Runtime`. The only place
16/// in the workspace allowed to know about every `*-core` at once — see
17/// docs/dependency-rules.md rule 7.
18#[derive(Debug, Default)]
19pub struct SubsystemManager;