pub fn parse(path: &Path) -> Result<ConfigFile> {
        Ok(config::Config::builder()
            .add_source(config::File::from(path))
            .add_source(config::Environment::with_prefix("CHANGES").separator("_"))
            .build()?
            .try_deserialize()?)
    }
/// Parses the config file and returns the values.
Parses the config file and returns the values.
Parses the config file and returns the values .
pub fn parse(path: &Path) -> Result<ConfigFile> {
        Ok(config::Config::builder()
            .add_source(config::File::from(path))
            .add_source(config::Environment::with_prefix("CHANGES").separator("_"))
            .build()?
            .try_deserialize()?)
    }
pub fn parse ( path : & Path ) -> Result < ConfigFile > { Ok ( config :: Config :: builder ( ) . add_source ( config :: File :: from ( path ) ) . add_source ( config :: Environment :: with_prefix ( " " ) . separator ( " " ) ) . build ( ) ? . try_deserialize ( ) ? ) }
Parses the config file and returns the values.
Parses the config file and returns the values .
path
&Path
path
&Path