Mountain/Binary/Initialize/mod.rs
1#![allow(non_snake_case)]
2
3//! # Binary::Initialize
4//!
5//! Pre-Tauri startup utilities invoked before the event loop begins.
6//! Covers Tokio runtime construction, CLI argument parsing, application
7//! state assembly, port selection, and log-level configuration.
8
9/// Build and return the configured multi-thread Tokio runtime.
10pub mod RuntimeBuild;
11
12/// Parse and validate command-line arguments into a typed configuration struct.
13pub mod CliParse;
14
15/// Assemble the initial `MountainState` from disk and defaults.
16pub mod StateBuild;
17
18/// Select an available TCP port for the IPC server at startup.
19pub mod PortSelector;
20
21/// Resolve the active log level from CLI flags and environment variables.
22pub mod LogLevel;