summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-03-31Simplify implementationMatthias Beyer
This patch simplifies the Source::collect_to() default implementation by making use of the ? operator as well as the std::iter API. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-28Merge pull request #189 from alerque/func-renameMatthias Beyer
Rename get_str() → get_string() to match returned type
2021-03-28Rename get_str() → get_string() to match returned typeCaleb Maclennan
2021-03-26Merge pull request #187 from matthiasbeyer/test-json-sequenceMatthias Beyer
Add tests for json value array
2021-03-26Add tests for json value arrayMatthias Beyer
This is added because of #145 to confirm whether the issue is valid or not. As the test succeeds, the issue is not valid. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-26Merge pull request #184 from matthiasbeyer/config-only-default-constructorMatthias Beyer
Remove Config::new()
2021-03-26Merge pull request #185 from matthiasbeyer/custom-env-seperatorMatthias Beyer
Fix custom separator for group prefixes
2021-03-26Fix custom separator for group prefixesLyuben Todorov
2021-03-26Remove Config::new()Matthias Beyer
Removes the ::new() constructor, because Config::default() does the same. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-26Merge pull request #186 from matthiasbeyer/remove-rustfmt-nightlyMatthias Beyer
Remove rustfmt on github-actions for nightly channel
2021-03-26Remove rustfmt on github-actions for nightly channelMatthias Beyer
This is necessary because rustfmt seems to be unavailable on nightly from time to time. So we remove it here, so that our CI does not fail because of that. Beta and stable channel rustfmt continues to be checked, though. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-26Merge pull request #181 from matthiasbeyer/set-docMatthias Beyer
Documentation for `Config::set*()`
2021-03-19Add doc: Config::set_default()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-19Add doc: Config:set()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-18Merge pull request #179 from matthiasbeyer/make-fn-tests-onlyMatthias Beyer
Make function only available in tests
2021-03-18Make function only available in testsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-18Merge pull request #152 from decathorpe/masterMatthias Beyer
port to rust-ini 0.16
2021-03-18port to rust-ini 0.16Fabio Valentini
2021-03-17Merge pull request #177 from matthiasbeyer/prepare-0.110.11.0Matthias Beyer
Version 0.11.0
2021-03-17Update version: 0.10.1 -> 0.11.0Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-17Update version in usage exampleMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-17Replace travis-ci badge with maintenance badgeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-17Merge pull request #172 from matthiasbeyer/add-setterMatthias Beyer
Add setter for setting config value once
2021-03-17Merge pull request #166 from matthiasbeyer/builderMatthias Beyer
Add Config::with_merged()
2021-03-17Add a Config::set_once() function to set a value once (and let ↵Matthias Beyer
Config::merge() overwrite it later Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-17Add Config::with_merged()Matthias Beyer
This patch adds a builder-pattern version of Config::merge(), which can be used for method-chain-building Config objects. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-17Merge pull request #175 from matthiasbeyer/actionsMatthias Beyer
Replace travis with github actions
2021-03-16Fix clippy: Use is_empty() instead of comparing to empty stringMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-16Clippy: Remove manual implementation of mapMatthias Beyer
Because clippy complains on nightly. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-16Add github-actions workflowMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-16Remove travisMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-16Merge pull request #169 from matthiasbeyer/fix-buildMatthias Beyer
Fix test failure
2021-03-04Fix expected error messageMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-04Fix test failureMatthias 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>
2020-10-11Merge pull request #154 from matthiasbeyer/patch-1Joel Gallant
Update version in usage example
2020-10-11Merge pull request #156 from matthiasbeyer/ensure-formatJoel Gallant
Ensure format
2020-10-11Merge pull request #155 from matthiasbeyer/formatJoel Gallant
Run cargo-fmt
2020-10-01travis: Ensure formatMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-01Run cargo-fmtMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-01Update version in usage exampleMatthias Beyer
2020-09-16Merge pull request #151 from szarykott/win_testsJoel Gallant
Fix paths in tests expectations for all platforms
2020-09-07Use `display` method on PathBuf in testsrdkt13
2020-09-06Fix paths in tests expectations for all platformsrdkt13
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