pub fn load_config(dir: &Path) -> Res<Config>
Loads the local configuration from dir/config.toml, returning the default if it is absent.
dir/config.toml
Returns an error if the config file exists but cannot be read or parsed.