config-rs v0.6.0 Release Notes
Release Date: 2017-06-23 // almost 7 years ago-
Implement
Source
forVec<T: Source>
andVec<Box<Source>>
Config::new() .merge(vec![ File::with_name("config/default"), File::with_name(&format!("config/{}", run_mode)), ])
Implement
From<&Path>
andFrom<PathBuf>
forFile
Remove
namespace
option for FileAdd builder pattern to condense configuration
Config::new() .merge(File::with_name("Settings")) .merge(Environment::with_prefix("APP")) .unwrap()
- Parsing errors even for non required files – [@Anthony25] ( #33 )