summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-08-02Fix: Use float_cmp for testing floatsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-08-02Run clippy only on MSRVMatthias Beyer
This patch reverts the matrix for the clippy job to only run clippy on our MSRV instead of stable, beta and nightly. The recurring issue with this was that lints started failing in PRs that couldn't have been fixed in master yet, because master was never tested with a clippy that new (in case of nightly). 1.56.1 is good enough for now. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-07-26Merge pull request #359 from matthiasbeyer/add-test-deser-unsigned-intsMatthias Beyer
Add test to deserialize unsigned int
2022-07-26Add test to deserialize unsigned intMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-07-14Merge pull request #356 from YounessBird/refactoring-de.rsMatthias Beyer
refactoring deserialize-any in config
2022-07-14refactoring deserialize-any in configYounessBird
2022-07-14values to test for case overridesYounessBird
2022-07-14crate is case insensitive noteYounessBird
2022-07-14tests for key overridesYounessBird
tests for key overrides tests for key overrides tests for key overrides
2022-07-14change config methods to use lowercase keysYounessBird
2022-07-14turn keys to lowercase to enable cross overridesYounessBird
2022-07-05enabling deserialization of lowercase values to enumsYounessBird
2022-06-29Merge pull request #353 from kesyog/kyogeswaran/deserialize-uintsMatthias Beyer
Use TryInto for more permissive deserialization for integers
2022-06-28Use TryInto for more permissive deserialization for integersKesavan Yogeswaran
* Attempt to convert between integer types using `TryInto`-based conversions rather than blanket failing for some source and destination types. * Use `into_uint` instead of `into_int` in `Value` Deserialize implementations for unsigned integer types. Previously, we were converting from signed types to unsigned types using `as`, which can lead to surprise integer values conversions (#93). Fixes #352 and #93
2022-06-21Merge pull request #350 from ↵Matthias Beyer
mehcode/dependabot/github_actions/actions/checkout-3.0.2 Bump actions/checkout from 2.4.0 to 3.0.2
2022-06-20Bump actions/checkout from 2.4.0 to 3.0.2dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3.0.2) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-19Merge pull request #318 from matthiasbeyer/origin-accessorMatthias Beyer
Add Value::origin()
2022-06-19Add Value::origin()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-19Merge pull request #283 from matthiasbeyer/cron-buildMatthias Beyer
Add cron job
2022-06-19Merge pull request #348 from matthiasbeyer/fix-workflowsMatthias Beyer
actions: Remove "minimal" setting, as workflow does not support this key
2022-06-19Add cron jobMatthias Beyer
This patch adds a cron job to run cargo-check and cargo-clippy every week, so that we are notified if the builds start failing because of updated rustc/clippy versions if we did not have any commits in that time. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-19Remove "minimal" setting, as workflow does not support this keyMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-19Merge pull request #347 from matthiasbeyer/fix-clippyMatthias Beyer
Fix clippy: use first() instead of get(0)
2022-06-19Merge pull request #343 from YounessBird/fix-yamlMatthias Beyer
fix yaml to parse int keys
2022-06-19Fix clippy: use first() instead of get(0)Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01fix yaml to parse int keysYounessBird
2022-06-01Merge pull request #344 from matthiasbeyer/fix-clippyMatthias Beyer
Fix clippy: Derive Eq as well
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-06-01Fix clippy: Derive Eq as wellMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-05-09Merge pull request #334 from martinvonz/errorsMatthias Beyer
errors: clarify names of integer types
2022-05-08errors: clarify names of integer typesMartin von Zweigbergk
I got this error message: ``` invalid type: integer 64 bit `5`, expected an array ``` It took me a while to figure out that it wasn't talking about bit number 5 of the number 64, but the 64-bit number `5`. I think it will be clearer like this: ``` invalid type: 64-bit integer `5`, expected an array ``` So that's what this patch implements.
2022-05-08Merge pull request #335 from matthiasbeyer/update-msrvMatthias Beyer
Update MSRV: 1.56.0 -> 1.56.1
2022-05-08Update MSRV: 1.56.0 -> 1.56.1Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-04-19Merge pull request #316 from Xuanwo/temp-envMatthias Beyer
test: Adopt test-env to fix random test failure
2022-04-18test: Adopt test-env to fix random test failureXuanwo
Signed-off-by: Xuanwo <github@xuanwo.io>
2022-04-13Merge pull request #313 from matthiasbeyer/prepare-0.13.10.13.1Matthias Beyer
Prepare 0.13.1
2022-04-13Update version in Cargo.tomlMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-04-13Update config version in READMEMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-04-13Add changelog for 0.13.1Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-04-10Merge pull request #306 from CfirTsabari/cfirtsabari/doesn-t-work-with-dot-101Matthias Beyer
fix: dot in config name
2022-04-10fix: dot in config nameCfirTsabari
Rust std `set_extension` is either add an extension if none exists, or edit the current one if such exists. This caused a mishandling when user is using a name with a dot, part of the name was treated as an extension, and be overwritten by the different format extensions. So manually *adding* a new dummy extension will cause the current code, to behave as expected, since it will always overwrite the new dummy extension and not part of the name.
2022-04-08Merge pull request #299 from lukehsiao/patch-1Matthias Beyer
docs(builder): fix typo in doc comment
2022-04-03Merge pull request #310 from matthiasbeyer/prepare-0.130.13.0Matthias Beyer
Prepare 0.13
2022-04-03Update version in Cargo.tomlMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>