diff options
Diffstat (limited to 'examples/file-yaml/src/main.rs')
-rw-r--r-- | examples/file-yaml/src/main.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/file-yaml/src/main.rs b/examples/file-yaml/src/main.rs deleted file mode 100644 index 6d72976..0000000 --- a/examples/file-yaml/src/main.rs +++ /dev/null @@ -1,12 +0,0 @@ -extern crate config; - -fn main() { - let mut c = config::Config::new(); - - // Read configuration from "Settings.yaml" - c.merge(config::File::new("Settings", config::FileFormat::Yaml)).unwrap(); - - println!("debug = {:?}", c.get("debug")); - println!("pi = {:?}", c.get("pi")); - println!("weight = {:?}", c.get("weight")); -} |