Skip to main content

Mountain/Binary/Initialize/
mod.rs

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