Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 7, 2023

This PR contains the following updates:

Package Type Update Change
darling dependencies minor 0.20.3 -> 0.21.0
hashbrown dependencies minor 0.14.0 -> 0.16.0
once_cell dependencies minor 1.18.0 -> 1.21.3

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

v0.20.10

  • Add #[allow(clippy::manual_unwrap_or_default)] to all generated impls to avoid causing clippy fails in crates using darling #​296
  • Properly initialize attrs magic field in derived FromAttributes impls #​297

v0.20.9

  • Allow word-form for newtype enum variants whose only field produces a value when from_none is called on their type #​249
  • Add FromMeta impls for the std::num::NonZero* types #​288
  • Fix panic in number FromMeta impls when the parsed value is too large for the receiver type #​289

v0.20.8

Compare Source

  • Add #[darling(with = ...)] support to attrs magic field to allow using custom receiver types for attrs #​273

v0.20.7

Compare Source

  • Add #[darling(flatten)] to allow forwarding unknown fields to another struct #​146
  • Don't suggest names of skipped fields in derived impls #​268

v0.20.6

Compare Source

  • Fix some missing syn invisible group handling in FromMeta impls #​263
  • Fix misleading error message on Error::unexpected_type so it no longer implies the type was a literal #​264
  • Impl FromMeta Vec of literals, e.g. LitStr #​265

v0.20.5

Compare Source

  • Add Flag::span inherent method, as Flag can no longer impl syn::spanned::Spanned #​242

v0.20.4

Compare Source

  • Accept bare paths in #[darling(default = ...)] #​258
  • Add FromMeta impl for PathBuf #​259
  • Improve FromMeta implementation for enums #​260
    • Properly implement unit arms in FromMeta::from_list to provide a consistent API for heterogeneous enums that include a mix of unit, newtype and struct variants
    • Add #[darling(word)] attribute for unit enum variants (See #​63 for details)
rust-lang/hashbrown (hashbrown)

v0.16.1

Compare Source

Added
  • Added HashTable methods related to the raw bucket index (#​657)
  • Added VacantEntryRef::insert_with_key (#​579)
Changed
  • Removed specialization for Copy types (#​662)
  • The get_many_mut family of methods have been renamed to get_disjoint_mut
    to match the standard library. The old names are still present for now, but
    deprecated. (#​648)
  • Recognize and use over-sized allocations when using custom allocators. (#​523)
  • Depend on serde_core instead of serde. (#​649)
  • Optimized collect on rayon parallel iterators. (#​652)

v0.16.0

Compare Source

Changed
  • Bump foldhash, the default hasher, to 0.2.0.
  • Replaced DefaultHashBuilder with a newtype wrapper around foldhash instead
    of re-exporting it directly.

v0.15.5

Compare Source

Added
  • Added Entry::or_default_entry and Entry::or_insert_entry.
Changed
  • Re-implemented likely/unlikely with #[cold]

v0.15.4

Compare Source

Changed
  • Removed optional dependency on compiler-builtins. This only affects building as part of std.

v0.15.3

Added
  • SIMD implementation for LoongArch (#​592, requires nightly)
Changed
  • Optimized insertion path by avoiding an unnecessary match_empty (#​607)
  • Increased minimum table size for small types (#​615)
  • Dropped FnMut trait bounds from ExtractIf data structures (#​616)
  • Relaxed constraint in hash_map::EntryRef insertion methods K: From<&Q> to &Q: Into<K> (#​611)
  • Added allocator template argument for rustc_iter (#​605)
  • The allocator-api2/nightly feature is no longer enabled by hashbrown/nightly (#​606)

v0.15.2

Added
  • Marked const fn constructors as rustc_const_stable_indirect when built as
    part of the standard library. (#​586)

v0.15.1

Compare Source

This release removes the borsh feature introduced in 0.15.0 because it was
found to be incorrectly implemented. Users should use the hashbrown feature of
the borsh crate instead which provides the same trait implementations.

v0.15.0

Compare Source

This release was yanked due to a broken implementation of the borsh feature.

This update contains breaking changes that remove the raw API with the hope of
centralising on the HashTable API in the future. You can follow the discussion
and progress in #​545 to discuss features you think should be added to this API
that were previously only possible on the raw API.

Added
  • Added borsh feature with BorshSerialize and BorshDeserialize impls. (#​525)
  • Added Assign impls for HashSet operators. (#​529)
  • Added Default impls for iterator types. (#​542)
  • Added HashTable::iter_hash{,_mut} methods. (#​549)
  • Added Hash{Table,Map,Set}::allocation_size methods. (#​553)
  • Implemented Debug and FusedIterator for all HashTable iterators. (#​561)
  • Specialized Iterator::fold for all HashTable iterators. (#​561)
Changed
  • Changed hash_set::VacantEntry::insert to return OccupiedEntry. (#​495)
  • Improvedhash_set::Difference::size_hint lower-bound. (#​530)
  • Improved HashSet::is_disjoint performance. (#​531)
  • equivalent feature is now enabled by default. (#​532)
  • HashSet operators now return a set with the same allocator. (#​529)
  • Changed the default hasher to foldhash. (#​563)
  • ahash feature has been renamed to default-hasher. (#​533)
  • Entry API has been reworked and several methods have been renamed. (#​535)
  • Hash{Map,Set}::insert_unique_unchecked is now unsafe. (#​556)
  • The signature of get_many_mut and related methods was changed. (#​562)
Fixed
Removed
  • Raw entry API is now under raw-entry feature, to be eventually removed. (#​534, #​555)
  • Raw table API has been made private and the raw feature is removed;
    in the future, all code should be using the HashTable API instead. (#​531, #​546)
  • rykv feature was removed; this is now provided by the rykv crate instead. (#​554)
  • HashSet::get_or_insert_owned was removed in favor of get_or_insert_with. (#​555)

v0.14.5

Compare Source

Fixed
  • Fixed index calculation in panic guard of clone_from_impl. (#​511)

v0.14.4

Compare Source

This release was yanked due to a breaking change.

v0.14.3

Compare Source

Added
  • Specialized fold implementation of iterators. (#​480)
Fixed
  • Avoid using unstable ptr::invalid_mut on nightly. (#​481)

v0.14.2

Compare Source

Added
  • HashTable type which provides a low-level but safe API with explicit hashing. (#​466)
Fixed
  • Disabled the use of NEON instructions on big-endian ARM. (#​475)
  • Disabled the use of NEON instructions on Miri. (#​476)

v0.14.1

Compare Source

Added
  • Allow serializing HashMaps that use a custom allocator. (#​449)
Changed
  • Use the Equivalent trait from the equivalent crate. (#​442)
  • Slightly improved performance of table resizing. (#​451)
  • Relaxed MSRV to 1.63.0. (#​457)
  • Removed Clone requirement from custom allocators. (#​468)
Fixed
  • Fixed custom allocators being leaked in some situations. (#​439, #​465)
matklad/once_cell (once_cell)

v1.21.3

Compare Source

v1.21.2

Compare Source

  • Relax success ordering from AcqRel to Release in race: #​278.

v1.21.1

Compare Source

v1.21.0

Compare Source

  • Outline initialization in race: #​273.
  • Add OnceNonZereUsize::get_unchecked: #​274.
  • Add OnceBox::clone and OnceBox::with_value: #​275.
  • Increase MSRV to 1.70

v1.20.3

Compare Source

v1.20.2

Compare Source

  • Remove portable_atomic from Cargo.lock if it is not, in fact, used: #​267
    This is a work-around for this cargo bug: rust-lang/cargo#10801.

v1.20.1

Compare Source

  • Allow using race module using just portable_atomic, without critical_section and provide
    better error messages on targets without atomic CAS instruction,
    #​265.

v1.20.0

Compare Source

v1.19.0

Compare Source

  • Use portable-atomic instead of atomic-polyfill, #​251.

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 becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 changed the title fix(deps): update rust crate once_cell to 1.19.0 fix(deps): update rust crate once_cell to v1.19.0 May 5, 2024
@renovate renovate bot force-pushed the renovate/minor-updates branch from b16909a to c1d0d12 Compare September 14, 2024 01:39
@renovate renovate bot changed the title fix(deps): update rust crate once_cell to v1.19.0 fix(deps): update rust crate once_cell to v1.20.0 Sep 14, 2024
@renovate renovate bot changed the title fix(deps): update rust crate once_cell to v1.20.0 fix(deps): update rust crate once_cell to v1.19.0 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/minor-updates branch from c1d0d12 to c146023 Compare September 16, 2024 17:08
@renovate renovate bot changed the title fix(deps): update rust crate once_cell to v1.19.0 fix(deps): update rust crate once_cell to v1.20.1 Sep 29, 2024
@renovate renovate bot force-pushed the renovate/minor-updates branch 2 times, most recently from 67963e6 to 69c6751 Compare October 1, 2024 16:15
@renovate renovate bot changed the title fix(deps): update rust crate once_cell to v1.20.1 fix(deps): update minor updates Oct 1, 2024
@renovate renovate bot force-pushed the renovate/minor-updates branch from 69c6751 to 26898a6 Compare October 5, 2024 19:56
@renovate renovate bot force-pushed the renovate/minor-updates branch from 26898a6 to 609c3b7 Compare February 7, 2025 01:20
@renovate renovate bot force-pushed the renovate/minor-updates branch 2 times, most recently from ddfe247 to 2a6193e Compare March 13, 2025 19:19
@renovate renovate bot force-pushed the renovate/minor-updates branch 2 times, most recently from 03200b5 to a272350 Compare March 28, 2025 18:22
@renovate renovate bot force-pushed the renovate/minor-updates branch from a272350 to 36beebe Compare July 10, 2025 19:31
@renovate renovate bot force-pushed the renovate/minor-updates branch 2 times, most recently from 006c8a4 to 104deed Compare August 8, 2025 00:58
@renovate renovate bot force-pushed the renovate/minor-updates branch from 104deed to 1fa2a7b Compare August 15, 2025 02:57
@renovate renovate bot force-pushed the renovate/minor-updates branch from 1fa2a7b to 59e722f Compare August 22, 2025 17:57
@renovate renovate bot force-pushed the renovate/minor-updates branch from 59e722f to ae7b064 Compare August 31, 2025 09:00
@renovate renovate bot force-pushed the renovate/minor-updates branch from ae7b064 to 6fc3b0f Compare September 25, 2025 20:30
@renovate renovate bot force-pushed the renovate/minor-updates branch from 6fc3b0f to a0769c2 Compare November 20, 2025 21:33
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