Skip to main content

Module Initialize

Module Initialize 

Source
Expand description

Application state initialization.

§Binary::Initialize

Pre-Tauri startup utilities invoked before the event loop begins. Covers Tokio runtime construction, CLI argument parsing, application state assembly, port selection, and log-level configuration.

Modules§

CliParse
Parse and validate command-line arguments into a typed configuration struct.
LogLevel
Resolve the active log level from CLI flags and environment variables.
PortSelector
Select an available TCP port for the IPC server at startup.
RuntimeBuild
Build and return the configured multi-thread Tokio runtime.
StateBuild
Assemble the initial MountainState from disk and defaults.