Skip to main content

Mountain/Binary/Initialize/
RuntimeBuild.rs

1#![allow(non_snake_case, unused_imports)]
2
3//! # RuntimeBuild - Echo scheduler bring-up
4//!
5//! Constructs the Echo async scheduler with the right worker count and
6//! telemetry knobs for the active build profile.
7//!
8//! Layout (one export per file, file name = identity):
9//! - `SchedulerConfig::Struct` - tuning knobs with profile-aware `Default`.
10//! - `CreateBuilder::Fn` - `SchedulerConfig` → `SchedulerBuilder`.
11//! - `Build::Fn` - default bring-up; CPU count workers.
12//! - `BuildWithConfig::Fn` - bring-up from a custom `SchedulerConfig::Struct`.
13//! - `BuildDebug::Fn` - single-worker scheduler under the `Debug` feature.
14//!
15//! Profile cheat sheet:
16//! - **Debug**: 1 worker, verbose logs.
17//! - **Development**: CPU count workers, info logs.
18//! - **Release**: CPU count workers, warn logs, telemetry.
19//!
20//! TODO: zero callers as of 2026-05-02 - `Binary::Main` currently
21//! creates the scheduler inline. Wire through this module when the
22//! profile-aware build sites land.
23
24pub mod Build;
25pub mod BuildDebug;
26pub mod BuildWithConfig;
27pub mod CreateBuilder;
28pub mod SchedulerConfig;