Age | Commit message (Collapse) | Author |
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
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>
|
|
Add test to deserialize unsigned int
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
refactoring deserialize-any in config
|
|
|
|
|
|
|
|
tests for key overrides
tests for key overrides
tests for key overrides
|
|
|
|
|
|
|
|
Use TryInto for more permissive deserialization for integers
|
|
* 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
|
|
mehcode/dependabot/github_actions/actions/checkout-3.0.2
Bump actions/checkout from 2.4.0 to 3.0.2
|
|
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>
|
|
Add Value::origin()
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Add cron job
|
|
actions: Remove "minimal" setting, as workflow does not support this key
|
|
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>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Fix clippy: use first() instead of get(0)
|
|
fix yaml to parse int keys
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
|
|
Fix clippy: Derive Eq as well
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
errors: clarify names of integer types
|
|
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.
|
|
Update MSRV: 1.56.0 -> 1.56.1
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
test: Adopt test-env to fix random test failure
|
|
Signed-off-by: Xuanwo <github@xuanwo.io>
|
|
Prepare 0.13.1
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
fix: dot in config name
|
|
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.
|
|
docs(builder): fix typo in doc comment
|
|
Prepare 0.13
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|