[][src]Function curlyconf::from_file

pub fn from_file<T>(name: impl Into<String>) -> Result<T> where
    T: for<'de> Deserialize<'de>, 

Read configuration from a file.

This uses the defaults (e.g. Mode::Semicolon). If you want to configure the configuration parser, use a Builder struct.