Confiture

Confiture is a really simple crate to manage config from toml file.

Usage

#[derive(Serialize, Deserialize, Debug, Default)]
#[serde(default)]
struct Config {
    title: String,
    blank: String,
}

fn main() {
     let cfg = Config::from_toml_file("config.toml").unwrap();
}