Function parse_config

Source
pub fn parse_config<T>(path: T) -> Result<Config>
where T: AsRef<Path>,
Expand description

Parse the configuration file into a Config structure.

ยงErrors

Returns an IO error if reading fails, or a TOML error if parsing fails.