Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-03 | Merge pull request #131 from ignatenkobrain/patch-2 | Joel Gallant | |
chore: Update float-cmp to 0.6 | |||
2020-09-03 | Merge pull request #134 from eisterman/fix_clippy_warnings | Joel Gallant | |
Fix of all the clippy warnings and removing of deprecated Error::description method | |||
2020-03-14 | Clippy fix for examples | Federico Pasqua | |
2020-03-14 | General upgrade for clippy fix and remove of deprecated methods for errors | Federico Pasqua | |
2020-02-23 | chore: Update float-cmp to 0.6 | Igor Gnatenko | |
2019-12-07 | Prepare v0.10.1 | Ryan Leckey | |
2019-12-07 | Fix test for enum keys as auto lowercase was disabled | Ryan Leckey | |
2019-12-07 | Merge pull request #119 from vorner/universal-map-keys | Ryan Leckey | |
Allow arbitrary types of map keys | |||
2019-12-07 | Prepare v0.10 | Ryan Leckey | |
2019-12-07 | Update CHANGELOG | Ryan Leckey | |
2019-12-07 | Remove automatic lowercase | Ryan Leckey | |
2019-12-07 | Fix tests | Ryan Leckey | |
2019-12-07 | Merge pull request #115 from Geal/master | Ryan Leckey | |
port to nom 5 | |||
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-13 | Merge pull request #109 from gnieto/task/remove-value-with-key | Ryan Leckey | |
Remove ValueWithKey struct | |||
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 | Update CHANGELOG.md | Ryan Leckey | |
2019-05-09 | Merge pull request #107 from nickelc/toml0.5 | Ryan Leckey | |
update toml to v0.5 & serde-hjson to v0.9 | |||
2019-05-09 | Remove try_defaults_from and set_defaults (for now) as '#[serde(default)]' ↵ | Ryan Leckey | |
works thanks to #106 | |||
2019-05-09 | Merge pull request #106 from tyranron/60-fix-defaults | Ryan Leckey | |
Fix defaults serialization and 'invalid type: unit value' deserialization error (#60) | |||
2019-04-15 | update serde-hjson to v0.9 | Constantin Nickel | |
2019-04-14 | update toml to v0.5 | Constantin Nickel | |
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-25 | Update README.md | Ryan Leckey | |
2019-01-03 | (cargo-release) version 0.9.20.9.2 | Ryan Leckey | |
2019-01-03 | Update CHANGELOG | Ryan Leckey | |
2019-01-03 | Re-export file source type markers (fixes #91) | Ryan Leckey | |
2019-01-03 | Update CHANGELOG | Ryan Leckey | |
2019-01-03 | Merge pull request #90 from boredstiff/patch-1 | Ryan Leckey | |
Update example deprecated method | |||
2019-01-03 | Merge pull request #89 from vorner/err-path | Ryan Leckey | |
Error path | |||
2019-01-02 | Update example deprecated method | Alex Widener | |
Update deprecated `deserialize` to use the preferred `try_into`. | |||
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-30 | Merge pull request #87 from geniusisme/genius_isme/bump_hjson | Ryan Leckey | |
upgrade serde-hjson to v0.8.2 so we can have consistent error check | |||
2018-11-30 | upgrade serde-hjson to v0.8.2 so we can have consistent error ckeck | Eugeen Sablin | |
2018-11-28 | Merge pull request #85 from geniusisme/genius_isme/de_enum | Ryan Leckey | |
support reading enums from config | |||
2018-11-10 | support reading enums from config | Eugeen Sablin | |
2018-10-07 | Merge pull request #80 from ignatenkobrain/patch-1 | Ryan Leckey | |
Update rust-ini to 0.13 | |||
2018-10-07 | Update rust-ini to 0.13 | Igor Gnatenko | |
2018-10-03 | Merge pull request #79 from vn971/fix_features_docs | Ryan Leckey | |
update README: default features | |||
2018-10-03 | update README: default features | Vasya Novikov | |
according to Cargo.toml, all features are now included by default, hence a correction is needed. | |||
2018-09-25 | Fix #75; tests run with --no-default-features | Ryan Leckey | |
2018-09-25 | Fix errors to build watch example | Ryan Leckey | |
2018-09-25 | Merge branch 'master' of https://github.com/mehcode/config-rs | Ryan Leckey | |
2018-09-25 | (cargo-release) version 0.9.10.9.1 | Ryan Leckey | |
2018-09-25 | Update CHANGELOG.md | Ryan Leckey | |
2018-09-25 | Use a build config on Environment instead of a feature flag for #78 | Ryan Leckey | |