Releases: fizyk20/generic-array
Releases · fizyk20/generic-array
1.4.0
Changelog
- Add
subtle,arbitrary,bytemuck,bitvecandas-sliceimplementations forGenericArray. - Add
GenericSequence::repeatfor creating sequences/arrays with repeated elements. - Add
FallibleGenericSequencewithtry_generateandfrom_fallible_iterfor fallible generation of sequences/arrays.- Added
AllocErrortype (requiresallocfeature) for heap allocation failures withtry_generate.
- Added
- Add
try_foldandtry_maptoFunctionalSequencefor fallible folding/mapping of sequences/arrays. - Add
try_from_fallible_itertoGenericArrayfor fallible construction from fallible iterators. - Add
each_ref/each_mutmethods toGenericArrayfor creating arrays of references to the elements. - Fixed some resource leakages and potential UB in degenerate cases.
PR's Merged
- lib.rs: typo by @rilysh in #148
- Constify various inherent methods by @eggyal in #152
- Remove doc_auto_cfg by @bilelmoussaoui in #155
- chore: make some documents clearer by @reddaisyy in #162
New Contributors
- @rilysh made their first contribution in #148
- @bilelmoussaoui made their first contribution in #155
- @reddaisyy made their first contribution in #162
1.0.0
0.12.0 Release
- Allow trailing commas in
arr!macro. - BREAKING: Serialize
GenericArrayusingserdetuples, instead of variable-length sequences. This may not be compatible with old serialized data.