Skip to main content

load_config

Function load_config 

Source
pub fn load_config() -> Result<Config>
Expand description

Load configuration from the config file

If the config file doesn’t exist, creates a new one with default values. Supports JSONC (JSON with comments). Rejects unknown fields for strict validation.