Skip to main content

load

Function load 

Source
pub fn load(config_path: impl AsRef<Path>) -> Result<Config, LoadError>
Expand description

Loads a full Config from a TOML config file at config_path.

Source and sinks come from the TOML itself; each [[index]] entry references a YAML schema file, resolved relative to the config file’s directory, which is parsed and converted into Index entries.