Skip to content

Releases: fosskers/nonempty-collections

0.2.9

26 Aug 07:57
d6a3596
Compare
Choose a tag to compare

Added

  • NonEmptyIterator::group_by.
  • NVec::sort_by and NEVec::sort_by_key.
  • An impl of Extend for NEVec.

Fixed

  • NEVec::sort avoids a second internal sort.

0.2.8

19 Aug 05:25
cd84a9b
Compare
Choose a tag to compare

Added

  • Missing FromNonEmptyIterator for HashMap.

0.2.7

22 Jul 00:39
Compare
Choose a tag to compare

Added

  • serde support for NEMap and NESet.

0.2.6

26 Jun 23:59
Compare
Choose a tag to compare

Fixed

  • Ownership issues in nem! when using non-Copy types.

0.2.5

09 Apr 00:08
Compare
Choose a tag to compare

Added

  • Implementation of NonEmptyIterator for fixed-sized stdlib Arrays.

0.2.4

03 Apr 23:38
Compare
Choose a tag to compare

Added

  • Added NEVec::partition_point to match the function of the same name in std.

Fixed

  • Render feature-gated types on docs.rs.

0.2.3

19 Mar 01:45
Compare
Choose a tag to compare

Fixed

  • More edge cases involving NEChunks.

0.2.2

18 Mar 05:33
Compare
Choose a tag to compare

Fixed

  • IntoIterator for NEChunks yielding the wrong type.
  • NonEmptyIterator for NEChunks missing a cutoff condition.

0.2.1

15 Mar 03:15
Compare
Choose a tag to compare

Added

  • The missing IntoIterator impl for NEChunks.
  • IntoIteratorExt for direct conversion from anything that implements
    IntoIterator. Thanks to Rinde van Lon.

Fixed

  • A bug involving repeated keys in NEMap and NEIndexedMap. Thanks to Rinde van Lon.

0.2.0

14 Mar 12:02
Compare
Choose a tag to compare

Added

  • NEIndexMap, thanks to Rinde van Lon.
  • NonEmptyIterator::max_by_key and NonEmptyIterator::min_by_key, also thanks to Rinde.
  • NEVec::with_capacity
  • NEVec::nonempty_chunks and NESlice::nonempty_chunks

Changed

  • BREAKING: All len implementations and NonEmptyIterator::count have had
    their return type changed to NonZeroUsize.