Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-13 | Merge branch 'prepare-0.11'v0.11.0 | Matthias Beyer | |
2021-03-13 | Version: 0.11.0 | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Merge branch 'srht-builds' | Matthias Beyer | |
2021-03-13 | Fix imports for new crate name | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Tested-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Add maintenance badge | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Fix clippy: Use is_empty() instead of comparing to empty string | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Update Cargo.toml settings for maintenance fork | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Fix expected error message | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Fix test failure | Matthias Beyer | |
As reported in https://github.com/hjson/hjson-rust/issues/23 the issue of the failing tests is the serde_hjson crate. The problem can be prevented (as reported by https://github.com/hjson/hjson-rust/issues/23#issuecomment-775520018) by disabling the default features of the crate (namingly preservation of key order). This commit disables the default features of serde_hjson to fix our tests. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Update README | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Add srht build configuration | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2021-03-13 | Remove travis | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-10-11 | Merge pull request #154 from matthiasbeyer/patch-1 | Joel Gallant | |
Update version in usage example | |||
2020-10-11 | Merge pull request #156 from matthiasbeyer/ensure-format | Joel Gallant | |
Ensure format | |||
2020-10-11 | Merge pull request #155 from matthiasbeyer/format | Joel Gallant | |
Run cargo-fmt | |||
2020-10-01 | travis: Ensure format | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-10-01 | Run cargo-fmt | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-10-01 | Update version in usage example | Matthias Beyer | |
2020-09-16 | Merge pull request #151 from szarykott/win_tests | Joel Gallant | |
Fix paths in tests expectations for all platforms | |||
2020-09-07 | Use `display` method on PathBuf in tests | rdkt13 | |
2020-09-06 | Fix paths in tests expectations for all platforms | rdkt13 | |
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 | |