GitXplorerGitXplorer
R

ezconf

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
df3819d29372dbac8e5dbd0b1a33fd6cb2ae65c4

Version 0.3.0 - Rewrite

RRahix committed 6 years ago
Verified
adc394bac5646a1eeec3ae94e3c490a37cbbb684

Update README

RRahix committed 6 years ago
Verified
1dd390d1bb6795ba0f64a1e753d71ccb997a9360

Add documentation

RRahix committed 6 years ago
Verified
092f5fe6c3e08e4712231f05614423483f357646

Rewrite this crate

RRahix committed 6 years ago
Verified
6c9bbaf72ac4ff2e6e9d88a11f23aeb1e1837ae1

Release 0.2.0

RRahix committed 7 years ago
Verified
ef3515aa9f0922ea9b19f1bf5eade2eff59ca381

Add support for multiple config file locations

RRahix committed 7 years ago

README

The README file for this repository.

ezconf crates.io page Build Status docs.rs

A library to add configuration options to your project with as little boilerplate as possible. Uses toml as the configuration format.

Example

extern crate ezconf;

static CONFIG: ezconf::Config = ezconf::INIT;

fn main() {
    CONFIG
        .init([ezconf::Source::File("tests/test.toml")].iter())
        .unwrap();

    let v = CONFIG.get_or::<String>("string.a", "Hello String".into());
    println!("Value: {:?}", v);
}

License

ezconf is licensed under either of

at your option.