Skip to content

fix(deps): update rust crate darling to 0.21.0#104

Merged
sheepduke merged 1 commit intomainfrom
renovate/darling-0.x
Sep 27, 2025
Merged

fix(deps): update rust crate darling to 0.21.0#104
sheepduke merged 1 commit intomainfrom
renovate/darling-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 10, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Type Update Change
darling dependencies minor 0.20.8 -> 0.21.0

Release Notes

TedDriggs/darling (darling)

v0.21.3

Compare Source

  • Fix: Forward Override::<T>::from_expr to T::from_expr #​371

v0.21.2

Compare Source

  • Add #[darling(from_expr = ...)] when deriving FromMeta to support overriding the key-value form #​369
  • Keep parsing the body and type params even if there are errors from parsing attributes. #​7
  • Support #[darling(with = ...)] on the generics field when deriving FromDeriveInput.
  • Return an error, rather than panicking, when doing shape validation on a union. #​365

v0.21.1

Compare Source

  • Track all alternate field names, and show them in error message if there aren't too many. #​325
  • Track all alternate values for enum variants, and show them in error messages if there aren't too many. #​362

v0.21.0

Compare Source

  • Potentially breaking: Emit error when an attribute path is present in both attributes and forward_attrs. #​336
  • Support parsing attributes which contain keywords #​238
  • Add SpannedValue::into_inner #​342
  • Add #[darling(derive_syn_parse)] to also impl syn::parse::Parse when deriving FromMeta #​285
  • Make impl FromMeta for syn::TypePath support both quote-wrapped and bare values #​351
  • Add util::PreservedStrExpr #​346
  • Impl UsesTypeParams and UsesLifetimes for WithOriginal #​215
  • Update error message emitted by <() as FromMeta>::from_list to allow use of () as a #[darling(flatten)] target #​353

v0.20.11

Compare Source

  • 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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/darling-0.x branch from fc0dffe to 95f9186 Compare August 7, 2025 11:15
@renovate renovate bot force-pushed the renovate/darling-0.x branch from 95f9186 to c2b2459 Compare August 15, 2025 01:45
@renovate renovate bot force-pushed the renovate/darling-0.x branch from c2b2459 to 7eb96ac Compare August 22, 2025 18:26
@renovate renovate bot force-pushed the renovate/darling-0.x branch from 7eb96ac to a5417a0 Compare September 21, 2025 13:19
@renovate renovate bot force-pushed the renovate/darling-0.x branch from a5417a0 to 819b687 Compare September 25, 2025 13:50
@renovate
Copy link
Contributor Author

renovate bot commented Sep 25, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: spec/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path spec/Cargo.toml --package darling@0.20.10 --precise 0.21.3
error: failed to acquire package cache lock

Caused by:
  failed to open: /home/ubuntu/.cargo/.package-cache

Caused by:
  failed to create directory `/home/ubuntu/.cargo`

Caused by:
  File exists (os error 17)

@sheepduke sheepduke merged commit 9751eff into main Sep 27, 2025
10 of 12 checks passed
@renovate renovate bot deleted the renovate/darling-0.x branch September 27, 2025 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant