Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-14 | General upgrade for clippy fix and remove of deprecated methods for errors | Federico Pasqua | |
2019-12-07 | Merge pull request #119 from vorner/universal-map-keys | Ryan Leckey | |
Allow arbitrary types of map keys | |||
2019-12-07 | Remove automatic lowercase | Ryan Leckey | |
2019-08-22 | Allow arbitrary types of map keys | Michal 'vorner' Vaner | |
Of particular interest are maps that have numbers or enums as keys. Closes #74. | |||
2019-06-27 | port to nom 5 | Geoffroy Couprie | |
2019-05-09 | Remove ValueWithKey struct | Guillem Nieto | |
While using this library, I end up having lifetime issues with `Config::get`. I've seen that current implementation forces the calleer to match `key` lifetime to the output of the function. My use case is, under some circumstances, return a suffixed version of the config key. Something similar to: ``` if some_condition == true { let key_name = format!("{}_suffix", key); self.config.get(&key_name) } else { self.config.get(key) } ``` This code is noy compiling for me due to conflicting lifetimes. To avoid this, I've started looking to the code and I've found that `key` needed this lifetime because of `ValueWithKey`. The purpouse of this struct seems to be add more information to the errors that are returned to the user. To mitigate this lifetime coupling I've: - Mapped the error on `Config::get` to include the originating key of the current error - Remove all the code related with `ValueWithKey` | |||
2019-05-09 | Remove try_defaults_from and set_defaults (for now) as '#[serde(default)]' ↵ | Ryan Leckey | |
works thanks to #106 | |||
2019-04-08 | Add missing doc | tyranron | |
2019-04-08 | Fix annoying 'invalid type: unit value, expected struct Settings' error | tyranron | |
2019-04-08 | Bootstrap solution | tyranron | |
2019-01-03 | Re-export file source type markers (fixes #91) | Ryan Leckey | |
2018-12-30 | Tracking a path where an error happens during deserialization | Michal 'vorner' Vaner | |
Related to #83, but doesn't solve that specific problem :-(. That specific error message ("missing field") comes from somewhere else than this library. | |||
2018-12-30 | Deserializing: Simplify the MapAccess thing | Michal 'vorner' Vaner | |
2018-11-10 | support reading enums from config | Eugeen Sablin | |
2018-09-25 | Use a build config on Environment instead of a feature flag for #78 | Ryan Leckey | |
2018-09-26 | Treat empty environment variables as unset | Phil Booth | |
2018-07-02 | Update readme/changelog for 0.9 | Ryan Leckey | |
2018-07-02 | Run rustfmt (nightly) | Ryan Leckey | |
2018-07-02 | Merge branch 'feature/ini' of https://github.com/woodgear/config-rs | Ryan Leckey | |
2018-07-02 | Fix test failures from upgrade to nom 4 | Ryan Leckey | |
2018-07-02 | Merge branch 'master' of https://github.com/Geal/config-rs | Ryan Leckey | |
2018-07-02 | Merge branch 'master' of https://github.com/limbo-rs/config-rs | Ryan Leckey | |
2018-06-25 | option rust-ini | san.dai | |
2018-06-15 | fix doc test | saber.wu | |
2018-06-15 | support ini | saber.wu | |
2018-04-09 | Mark Value docs as text | Aleksey Ivanov | |
2018-04-09 | [Close #70] Support newtype struct deserialization | Aleksey Ivanov | |
2018-04-08 | Add ConfigSerializer | XX | |
2018-04-08 | Fix initialy set arr path | XX | |
2018-04-06 | Add config serialize ability | XX | |
2018-03-12 | Merge pull request #59 from ChriFo/fix/env | Ryan Leckey | |
Adjust environment variable handling | |||
2018-02-17 | update to nom 4 | Geoffroy Couprie | |
2018-01-29 | add default prefix separator | Christian Fochler | |
- no need to add '_' to the prefix | |||
2018-01-28 | make separator optional | Christian Fochler | |
2018-01-28 | Revert "remove unnecessary env key manipulation" | Christian Fochler | |
This reverts commit 36b477df0f9bda4d153b674b3007ee087e44d67f. | |||
2018-01-26 | Merge pull request #54 from cmyr/partialeq-value | Ryan Leckey | |
Add derive(PartialEq) for Value, ValueType | |||
2018-01-26 | Merge pull request #50 from snipsco/master | Ryan Leckey | |
use nom's error_kind() to be robust againt nom feature selection accross a project | |||
2017-12-14 | remove unnecessary env key manipulation | Christian Fochler | |
2017-11-14 | Add derive(PartialEq) for Value, ValueType | Colin Rofls | |
- closes #51 | |||
2017-10-07 | Fix markdown lists | Sven-Hendrik Haase | |
2017-09-20 | fix weird nom errorkind issue | Mathieu Poumeyrol | |
2017-09-01 | Added HJSON (Human-Readable JSON) as a config file format | Raphael Cohn | |
2017-08-05 | Fix tests and put back .deserialize as deprecated0.7.0 | Ryan Leckey | |
2017-07-30 | Impl Deserializer for Config (to forward Value) | Ryan Leckey | |
2017-07-30 | Impl Config for Source to allow merging whole configs; closes #28 | Ryan Leckey | |
2017-07-30 | Remove ConfigResult; close #36 | Ryan Leckey | |
2017-07-28 | Use 'yaml::Hash' instead of assuming the underlying type is BTreeMap | Ryan Leckey | |
2017-06-23 | Clean up ConfigResult type. Make it more ergonomic to use. | Ryan Leckey | |
2017-06-23 | Make boxed errors Send + Sync | Jascha | |
2017-06-22 | Impl Display for Value (partially) | Ryan Leckey | |