Skip to main content

load_config_file

Function load_config_file 

Source
pub fn load_config_file(path: &Path) -> Result<Config, ConfigError>
Expand description

Load configuration from a single file, skipping hierarchical resolution.

The file is chosen explicitly by the user (--config), so it is trusted: no key is reserved and rule paths may point anywhere.