Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump miniconf from 0.16.3 to 0.17.0 #458

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 28, 2024

Bumps miniconf from 0.16.3 to 0.17.0.

Changelog

Sourced from miniconf's changelog.

0.17.0 - 2024-10-25

Changed

  • The "recursion depth" const generic of the Tree* traits has been removed in favor of explicit newtypes implementing the traits for leaf values Leaf<T> and StrLeaf<T>. This reduces code duplication, macro usage and complexity. It enables any recursion depth, does away with most manual tracking of recursion depth in proc macro attributes, and simplifies code and derive macros, at the expense of having to wrap leaves in newtypes and having to pass an indices length to TreeKey::nodes().
  • TreeKey::nodes requires the indices length as a const generic.
  • get, get_mut, validate proc macro attributes are now Expr
  • Key::find and Keys::finalize return a Result, not an Option to reduce code duplication
  • Derive macro lifetime and type param trait bound heuristics have been improved. They should now yield the correct result in mpst cases.
  • Internal nodes must always have at least one leaf. Trait impls for [T; 0] and () have been removed. The len argument to the traverse_by_key closure is now a NonZero<usize>.

Added

  • Leaf to explicitly manage Serialize/Deserialize leaf values.
  • StrLeaf to manage values via AsRef<str>/TryFrom<&str> (e.g. Enums via strum)
  • Tree* impls for heterogeneous inline tuples (T0, T1, ...) up to length 8 (also useful for enum variants)
  • impl Tree* for &{mut,} T where T: Tree* blanket impls to simplify usage downstream
  • defer derive attribute to quickly defer to a downstream field without having to write accessors
  • Metadata now also computes maximum Packed bits usage

Removed

  • TreeSerialize/TreeDeserialize/TreeAny don't need TreeKey
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 28, 2024
@dependabot dependabot bot force-pushed the dependabot/cargo/miniconf-0.17.0 branch from 444fc4f to db7f0ce Compare October 28, 2024 06:59
@dependabot dependabot bot force-pushed the dependabot/cargo/miniconf-0.17.0 branch 2 times, most recently from 1f569c9 to 5fd9716 Compare November 4, 2024 07:14
Bumps [miniconf](https://github.com/quartiq/miniconf) from 0.16.3 to 0.17.0.
- [Release notes](https://github.com/quartiq/miniconf/releases)
- [Changelog](https://github.com/quartiq/miniconf/blob/main/CHANGELOG.md)
- [Commits](quartiq/miniconf@v0.16.3...v0.17.0)

---
updated-dependencies:
- dependency-name: miniconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/miniconf-0.17.0 branch from 5fd9716 to a48a25d Compare November 11, 2024 09:58
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 18, 2024

Superseded by #463.

@dependabot dependabot bot closed this Nov 18, 2024
@dependabot dependabot bot deleted the dependabot/cargo/miniconf-0.17.0 branch November 18, 2024 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants