Open
Conversation
b16909a to
c1d0d12
Compare
c1d0d12 to
c146023
Compare
67963e6 to
69c6751
Compare
69c6751 to
26898a6
Compare
26898a6 to
609c3b7
Compare
ddfe247 to
2a6193e
Compare
03200b5 to
a272350
Compare
a272350 to
36beebe
Compare
006c8a4 to
104deed
Compare
104deed to
1fa2a7b
Compare
1fa2a7b to
59e722f
Compare
59e722f to
ae7b064
Compare
ae7b064 to
6fc3b0f
Compare
6fc3b0f to
a0769c2
Compare
2016337 to
05caac6
Compare
05caac6 to
8e61c97
Compare
8e61c97 to
b6369c7
Compare
b6369c7 to
00e7d3b
Compare
00e7d3b to
d4918c2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.20.3→0.23.00.14.0→0.17.01.18.0→1.21.4Release Notes
TedDriggs/darling (darling)
v0.23.0Compare Source
v0.22.0Compare Source
fnvdependency, as runtime performance gain does not justify additional dependency. This was exposed to users ofdarling::usage, so it may be breaking for them #373#[darling(default = || expr(val))]support, allowing a closure where a path was previously required #380darling::util::Callableas literal stringsv0.21.3Compare Source
Override::<T>::from_exprtoT::from_expr#371v0.21.2Compare Source
#[darling(from_expr = ...)]when derivingFromMetato support overriding the key-value form #369#[darling(with = ...)]on thegenericsfield when derivingFromDeriveInput.union. #365v0.21.1Compare Source
v0.21.0Compare Source
attributesandforward_attrs. #336SpannedValue::into_inner#342#[darling(derive_syn_parse)]to also implsyn::parse::Parsewhen derivingFromMeta#285impl FromMeta for syn::TypePathsupport both quote-wrapped and bare values #351util::PreservedStrExpr#346UsesTypeParamsandUsesLifetimesforWithOriginal#215<() as FromMeta>::from_listto allow use of()as a#[darling(flatten)]target #353v0.20.11Compare Source
#[darling(with = ...)]on thedatafield when derivingFromDeriveInput. This allows the use of simpler receiver types, such as aVecof enum variants.proc-macro2to 1.0.86.#[darling(with = ...)]on fields inFromDeriveInput,FromMeta,FromField, etc. #309darling::util::Callableto accept a path or closure as a meta-item expression#[darling(from_word = ...)]and#[darling(from_none = ...)]to control shorthand and fallback behaviors for structs and enums derivingFromMeta#320FromMetaimpl forsyn::ExprRange#329v0.20.10#[allow(clippy::manual_unwrap_or_default)]to all generated impls to avoid causing clippy fails in crates usingdarling#296attrsmagic field in derivedFromAttributesimpls #297v0.20.9from_noneis called on their type #249FromMetaimpls for thestd::num::NonZero*types #288FromMetaimpls when the parsed value is too large for the receiver type #289v0.20.8Compare Source
#[darling(with = ...)]support toattrsmagic field to allow using custom receiver types forattrs#273v0.20.7Compare Source
#[darling(flatten)]to allow forwarding unknown fields to another struct #146v0.20.6Compare Source
FromMetaimpls #263Error::unexpected_typeso it no longer implies the type was a literal #264FromMetaVecof literals, e.g.LitStr#265v0.20.5Compare Source
Flag::spaninherent method, asFlagcan no longer implsyn::spanned::Spanned#242v0.20.4Compare Source
#[darling(default = ...)]#258FromMetaimpl forPathBuf#259FromMetaimplementation for enums #260FromMeta::from_listto provide a consistent API for heterogeneous enums that include a mix of unit, newtype and struct variants#[darling(word)]attribute for unit enum variants (See #63 for details)rust-lang/hashbrown (hashbrown)
v0.17.0Compare Source
Added
hash_table::OccupiedEntry::replace_entry_with(#669)hash_map::{OccupiedEntry::into_entry, VacantEntryRef::insert_entry_with_key}(#670)hash_table::UnsafeIter(#667)itermethods to variousHashTableiterators (#667)HashMap::{replace_key,replace_key_unchecked,insert_with_key_unchecked}(#681)into_mapmethods to allHashMapentry types (#686)into_tablemethods to allHashTableentry types (#686)#[must_use]to constructors (#697)TryReserveErrornow implementsError(#698)Changed
EntryRefto useToOwned(#670)Fixed
HashTable:clone_fromnow forwards toRawTable::clone_frominstead of using the default implementation (#668)RawTableInner::fallible_with_capacity(#692)v0.16.1Compare Source
Added
HashTablemethods related to the raw bucket index (#657)VacantEntryRef::insert_with_key(#579)Changed
Copytypes (#662)get_many_mutfamily of methods have been renamed toget_disjoint_mutto match the standard library. The old names are still present for now, but
deprecated. (#648)
serde_coreinstead ofserde. (#649)collecton rayon parallel iterators. (#652)v0.16.0Compare Source
Changed
DefaultHashBuilderwith a newtype wrapper aroundfoldhashinsteadof re-exporting it directly.
v0.15.5Compare Source
Added
Entry::or_default_entryandEntry::or_insert_entry.Changed
#[cold]v0.15.4Compare Source
Changed
std.v0.15.3Added
Changed
match_empty(#607)ExtractIfdata structures (#616)hash_map::EntryRefinsertion methodsK: From<&Q>to &Q:Into<K>(#611)rustc_iter(#605)allocator-api2/nightlyfeature is no longer enabled byhashbrown/nightly(#606)v0.15.2Added
const fnconstructors asrustc_const_stable_indirectwhen built aspart of the standard library. (#586)
v0.15.1Compare Source
This release removes the
borshfeature introduced in 0.15.0 because it wasfound to be incorrectly implemented. Users should use the
hashbrownfeature ofthe
borshcrate instead which provides the same trait implementations.v0.15.0Compare Source
This release was yanked due to a broken implementation of the
borshfeature.This update contains breaking changes that remove the
rawAPI with the hope ofcentralising on the
HashTableAPI in the future. You can follow the discussionand progress in #545 to discuss features you think should be added to this API
that were previously only possible on the
rawAPI.Added
borshfeature withBorshSerializeandBorshDeserializeimpls. (#525)Assignimpls forHashSetoperators. (#529)Defaultimpls for iterator types. (#542)HashTable::iter_hash{,_mut}methods. (#549)Hash{Table,Map,Set}::allocation_sizemethods. (#553)DebugandFusedIteratorfor allHashTableiterators. (#561)Iterator::foldfor allHashTableiterators. (#561)Changed
hash_set::VacantEntry::insertto returnOccupiedEntry. (#495)hash_set::Difference::size_hintlower-bound. (#530)HashSet::is_disjointperformance. (#531)equivalentfeature is now enabled by default. (#532)HashSetoperators now return a set with the same allocator. (#529)ahashfeature has been renamed todefault-hasher. (#533)Hash{Map,Set}::insert_unique_uncheckedis now unsafe. (#556)get_many_mutand related methods was changed. (#562)Fixed
Removed
raw-entryfeature, to be eventually removed. (#534, #555)rawfeature is removed;in the future, all code should be using the
HashTableAPI instead. (#531, #546)rykvfeature was removed; this is now provided by therykvcrate instead. (#554)HashSet::get_or_insert_ownedwas removed in favor ofget_or_insert_with. (#555)v0.14.5Compare Source
Fixed
clone_from_impl. (#511)v0.14.4Compare Source
This release was yanked due to a breaking change.
v0.14.3Compare Source
Added
foldimplementation of iterators. (#480)Fixed
ptr::invalid_muton nightly. (#481)v0.14.2Compare Source
Added
HashTabletype which provides a low-level but safe API with explicit hashing. (#466)Fixed
v0.14.1Compare Source
Added
HashMaps that use a custom allocator. (#449)Changed
Equivalenttrait from theequivalentcrate. (#442)Clonerequirement from custom allocators. (#468)Fixed
matklad/once_cell (once_cell)
v1.21.4Compare Source
Fix unsoundness in
OnceCell::waitunder--features=parking_lot, #295.If thread A calls
wait, while thread B callsget_or_try_init(f), and, furthermore,fpanics,the
waitincorrectly returns and thread A observes uninitialized memory.Kudos to @meng-xu-cs for a nice find!
v1.21.3Compare Source
race: #284,#285.
v1.21.2Compare Source
race: #278.v1.21.1Compare Source
v1.21.0Compare Source
race: #273.OnceNonZereUsize::get_unchecked: #274.OnceBox::cloneandOnceBox::with_value: #275.v1.20.3Compare Source
v1.20.2Compare Source
portable_atomicfrom Cargo.lock if it is not, in fact, used: #267This is a work-around for this cargo bug: rust-lang/cargo#10801.
v1.20.1Compare Source
racemodule using justportable_atomic, withoutcritical_sectionand providebetter error messages on targets without atomic CAS instruction,
#265.
v1.20.0Compare Source
v1.19.0Compare Source
portable-atomicinstead ofatomic-polyfill, #251.Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.