This repository was archived by the owner on May 3, 2026. It is now read-only.
0.6.0
CHANGED
RingBufferand its accompanying slice typesSliceandSliceMutnow implementArrayandArrayMutfromarray-ops, giving them most of the methods that would be available on primitive slice types and cutting down on code duplication in the implementation, but at the price of having to pullArrayet al into scope when you need them. Because this means adding a dependency toarray-ops,RingBufferhas now been moved behind theringbufferfeature flag.ChunkandInlineArraydon't and won't implementArray, because they are both able to implementDeref<[A]>, which provides the same functionality more efficiently.
ADDED
- The
insert_fromandinsert_orderedmethods recently added toChunkhave now also been added toRingBuffer. RingBuffer'sSliceandSliceMutnow also have the threebinary_searchmethods regular slices have.SparseChunk,RingBuffer,SliceandSliceMutnow have unsafeget_uncheckedandget_unchecked_mutmethods.PartialEqimplementations allowing you to compareRingBuffers,Slices andSliceMuts interchangeably have been added.
FIXED
- Fixed an aliasing issue in
RingBuffer's mutable iterator, as uncovered by Miri. Behind the scenes, the full non-fuzzing unit test suite is now able to run on Miri without crashing it (after migrating the last Proptest tests away from the test suite into the fuzz targets), and this has been included in its CI build. (#6)