Age | Commit message (Collapse) | Author |
|
Prepare release 0.14.x
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
matthiasbeyer/fix-cargo-check-external-types-nightly-version
Fix: cargo-check-external-types must use nightly 2023-10-10
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Check external types
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
mehcode/dependabot/github_actions/actions/setup-python-5
Bump actions/setup-python from 4 to 5
|
|
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
deserialize: strings: Introduce string_serialize_via_display macro
|
|
Unify deser impl (redux)
|
|
This removes a lot of duplicated code.
It could be even shorter if we were to use the `paste` crate.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
This had open-coded copies of the impl for Value. Replace them with
calls to the impl for Value. This reduces duplication. It would
allow us to change the impl for Value.
Use a macro for the many very-similar functions.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
This tests, in particular, that the error messdage is as expected
including the right key and filename.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
Fix docs warnings
|
|
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Fix nested arrays (by reworking array handling)
|
|
Hide and deprecate AsyncConfigBuilder
|
|
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
This struct seems to be a remnant of a previous approach to async.
It cannot be used, and the documentation was lies.
There isn't a `build` method. There are, in fact, no methods at all.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Add DCO
|
|
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
Change the representation of our "current location". Previously it
was a list of increasingly-long full paths, but excepting the putative
final array index.
Now we just record the individual elements. and assemble the whole
path just before calling .set(). This saves a little memory on the
whole since the entries in keys are now a bit shorter.
It is much less confusing. (There are perhaps still further
opportunities to use Rust's type system to better advantage to
eliminuate opportunities for bugs.)
Arrays that appear other than at the top level are now handled
correctly. This includes nested arrays, and arrays containing
structs, etc.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
We're going to want to do something more complicated.
In particular, to handle nested arrays properly, we need to do some
work at the start and end of each array.
The `new` and (inherent) `end` methods of this newtype is where that
work will be done.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
Have all the various versions of sequences (arrays and various forms
of tuple) all go via ser::SerializeSeq.
This reduces some duplication. And, we're about to change the
implementation.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Update MSRV: 1.66.0 -> 1.70.0
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
docs: Example for conditionally loading sources
|
|
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Signed-off-by: Elsoberanold <42942305+Elsoberanold@users.noreply.github.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
mehcode/dependabot/github_actions/actions/checkout-4.1.1
Bump actions/checkout from 4.1.0 to 4.1.1
|
|
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [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/v4.1.0...v4.1.1)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
chore: Use a common method in parsers to check root is a table
|
|
Signed-off-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
|
|
Clippy exact toolchains
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Clippy complained about how we build the strings here, so rewrite it.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Update warp requirement from =0.3.5 to =0.3.6
|
|
Updates the requirements on [warp](https://github.com/seanmonstar/warp) to permit the latest version.
- [Release notes](https://github.com/seanmonstar/warp/releases)
- [Changelog](https://github.com/seanmonstar/warp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/warp/compare/v0.3.5...v0.3.6)
---
updated-dependencies:
- dependency-name: warp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Use weak features for preserve_order
|
|
Currently, `preserve_order` causes the toml, serde_json and ron
dependencies to be enabled. This can be avoided by using cargo's support
for [weak features].
[weak features]:
https://rust-lang.github.io/rfcs/3143-cargo-weak-namespaced-features.html
Weak features were stabilized in Rust 1.60 so there are no MSRV
concerns.
I think this probably is a breaking change since it's possible some
downstream users weren't enabling support explicitly.
Signed-off-by: Rain <rain@sunshowers.io>
|
|
mehcode/dependabot/github_actions/actions/checkout-4.1.0
Bump actions/checkout from 4.0.0 to 4.1.0
|
|
Update MSRV in cron job
|
|
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [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/v4.0.0...v4.1.0)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|