Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 978 Bytes

CHANGELOG.md

File metadata and controls

29 lines (22 loc) · 978 Bytes

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.4.0 - 2017-02-12

  • Remove global ( config::get ) API — It's now required to create a local configuration instance with config::Config::new() first.

    If you'd like to have a global configuration instance, use lazy_static! as follows:

    use std::sync::RwLock;
    use config::Config;
    
    lazy_static! {
        static ref CONFIG: RwLock<Config> = Default::default();
    }

0.3.0 - 2017-02-08

  • YAML from @tmccombs
  • Nested field retrieval
  • Deep merging of sources (was shallow)
  • config::File::from_str to parse and merge a file from a string
  • Support for retrieval of maps and slices — config::get_table and config::get_array

0.2.0 - 2017-01-29

Initial release.