Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/Binary/Initialize/
RuntimeBuild.rs

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