blob: a8090e5f4626019c906a1a412482323341ab0b11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// NOTE: This is just for my testing / play right now. Examples will be made at examples/ soon.
extern crate config;
fn main() {
let mut c = config::Config::new();
c.merge(config::File::with_name("Settings")).unwrap();
println!("debug = {:?}", c.get_str("process.debug"));
println!("debug = {:?}", c.get_bool("process.debug"));
}
|