summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-09-03Merge pull request #131 from ignatenkobrain/patch-2Joel Gallant
chore: Update float-cmp to 0.6
2020-09-03Merge pull request #134 from eisterman/fix_clippy_warningsJoel Gallant
Fix of all the clippy warnings and removing of deprecated Error::description method
2020-03-14Clippy fix for examplesFederico Pasqua
2020-03-14General upgrade for clippy fix and remove of deprecated methods for errorsFederico Pasqua
2020-02-23chore: Update float-cmp to 0.6Igor Gnatenko
2019-12-07Prepare v0.10.1Ryan Leckey
2019-12-07Fix test for enum keys as auto lowercase was disabledRyan Leckey
2019-12-07Merge pull request #119 from vorner/universal-map-keysRyan Leckey
Allow arbitrary types of map keys
2019-12-07Prepare v0.10Ryan Leckey
2019-12-07Update CHANGELOGRyan Leckey
2019-12-07Remove automatic lowercaseRyan Leckey
2019-12-07Fix testsRyan Leckey
2019-12-07Merge pull request #115 from Geal/masterRyan Leckey
port to nom 5
2019-08-22Allow arbitrary types of map keysMichal 'vorner' Vaner
Of particular interest are maps that have numbers or enums as keys. Closes #74.
2019-06-27port to nom 5Geoffroy Couprie
2019-05-13Merge pull request #109 from gnieto/task/remove-value-with-keyRyan Leckey
Remove ValueWithKey struct
2019-05-09Remove ValueWithKey structGuillem 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-09Update CHANGELOG.mdRyan Leckey
2019-05-09Merge pull request #107 from nickelc/toml0.5Ryan Leckey
update toml to v0.5 & serde-hjson to v0.9
2019-05-09Remove try_defaults_from and set_defaults (for now) as '#[serde(default)]' ↵Ryan Leckey
works thanks to #106
2019-05-09Merge pull request #106 from tyranron/60-fix-defaultsRyan Leckey
Fix defaults serialization and 'invalid type: unit value' deserialization error (#60)
2019-04-15update serde-hjson to v0.9Constantin Nickel
2019-04-14update toml to v0.5Constantin Nickel
2019-04-08Add missing doctyranron
2019-04-08Fix annoying 'invalid type: unit value, expected struct Settings' errortyranron
2019-04-08Bootstrap solutiontyranron
2019-01-25Update README.mdRyan Leckey
2019-01-03(cargo-release) version 0.9.20.9.2Ryan Leckey
2019-01-03Update CHANGELOGRyan Leckey
2019-01-03Re-export file source type markers (fixes #91)Ryan Leckey
2019-01-03Update CHANGELOGRyan Leckey
2019-01-03Merge pull request #90 from boredstiff/patch-1Ryan Leckey
Update example deprecated method
2019-01-03Merge pull request #89 from vorner/err-pathRyan Leckey
Error path
2019-01-02Update example deprecated methodAlex Widener
Update deprecated `deserialize` to use the preferred `try_into`.
2018-12-30Tracking a path where an error happens during deserializationMichal '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-30Deserializing: Simplify the MapAccess thingMichal 'vorner' Vaner
2018-11-30Merge pull request #87 from geniusisme/genius_isme/bump_hjsonRyan Leckey
upgrade serde-hjson to v0.8.2 so we can have consistent error check
2018-11-30upgrade serde-hjson to v0.8.2 so we can have consistent error ckeckEugeen Sablin
2018-11-28Merge pull request #85 from geniusisme/genius_isme/de_enumRyan Leckey
support reading enums from config
2018-11-10support reading enums from configEugeen Sablin
2018-10-07Merge pull request #80 from ignatenkobrain/patch-1Ryan Leckey
Update rust-ini to 0.13
2018-10-07Update rust-ini to 0.13Igor Gnatenko
2018-10-03Merge pull request #79 from vn971/fix_features_docsRyan Leckey
update README: default features
2018-10-03update README: default featuresVasya Novikov
according to Cargo.toml, all features are now included by default, hence a correction is needed.
2018-09-25Fix #75; tests run with --no-default-featuresRyan Leckey
2018-09-25Fix errors to build watch exampleRyan Leckey
2018-09-25Merge branch 'master' of https://github.com/mehcode/config-rsRyan Leckey
2018-09-25(cargo-release) version 0.9.10.9.1Ryan Leckey
2018-09-25Update CHANGELOG.mdRyan Leckey
2018-09-25Use a build config on Environment instead of a feature flag for #78Ryan Leckey