From 7c691b6d59770b232e3e8f9e440468b8e7ae67a0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 31 Mar 2025 18:01:57 +0000
Subject: [PATCH] build(deps): bump darling from 0.20.10 to 0.20.11 (#36244)
Bumps [darling](https://github.com/TedDriggs/darling) from 0.20.10 to
0.20.11.
Release notes
Sourced from darling's
releases.
v0.20.11
- Support
#[darling(with = ...)]
on the data
field when deriving FromDeriveInput
. This allows the use of
simpler receiver types, such as a Vec
of enum
variants.
- Bump version of
proc-macro2
to 1.0.86.
- Accept closures for
#[darling(with = ...)]
on fields in
FromDeriveInput
, FromMeta
,
FromField
, etc. #309
- Add
darling::util::Callable
to accept a path or closure
as a meta-item expression
- Add
#[darling(from_word = ...)]
and
#[darling(from_none = ...)]
to control shorthand and
fallback behaviors for structs and enums deriving FromMeta
#320
- Add
FromMeta
impl for syn::ExprRange
#329
Changelog
Sourced from darling's
changelog.
v0.20.11 (March 28, 2025)
- Support
#[darling(with = ...)]
on the data
field when deriving FromDeriveInput
. This allows the use of
simpler receiver types, such as a Vec
of enum
variants.
- Bump version of
proc-macro2
to 1.0.86.
- Accept closures for
#[darling(with = ...)]
on fields in
FromDeriveInput
, FromMeta
,
FromField
, etc. #309
- Add
darling::util::Callable
to accept a path or closure
as a meta-item expression
- Add
#[darling(from_word = ...)]
and
#[darling(from_none = ...)]
to control shorthand and
fallback behaviors for structs and enums deriving FromMeta
#320
- Add
FromMeta
impl for syn::ExprRange
#329
Commits
82a51e0
Bump version to 0.20.11
61834da
Impl FromMeta for syn::ExprRange (#332)
f18d5d5
Add explicit implementations of FromMeta
methods to
SpannedValue
and `Ove...
a6e5f52
Move generation of from_word body for unit variants
c8c8201
Add from_word and from_none options
3a848ca
Extract path-or-closure to darling::util::Callable
fa552e4
Error if attrs
field is declared and
forward_attrs
is missing.
af24bdf
Reject extra data passed to unit enum variants
b7a248f
Fix clippy violations by removing unnecessary iifetimes
b746a0c
Accept a closure for with
in lieu of a path for fields (#310)
- Additional commits viewable in compare
view
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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 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)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
Cargo.lock | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e667d07304f..56535f82b68 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1468,9 +1468,9 @@ checksum = "96a6ac251f4a2aca6b3f91340350eab87ae57c3f127ffeb585e92bd336717991"
[[package]]
name = "darling"
-version = "0.20.10"
+version = "0.20.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989"
+checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
dependencies = [
"darling_core",
"darling_macro",
@@ -1478,9 +1478,9 @@ dependencies = [
[[package]]
name = "darling_core"
-version = "0.20.10"
+version = "0.20.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5"
+checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
dependencies = [
"fnv",
"ident_case",
@@ -1492,9 +1492,9 @@ dependencies = [
[[package]]
name = "darling_macro"
-version = "0.20.10"
+version = "0.20.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
+checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
dependencies = [
"darling_core",
"quote",