pub fn load_config<T: for<'a> Deserialize<'a>>(
config_file: impl AsRef<Path>,
) -> Result<T>Expand description
Loads the user configuration.
This function will look for the configuration file at the provided path. If the path is relative, searches in parent directories all the way to the root as well.
The above configuration options are indented to support easy of packaging and deployment.