Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Releases: KamilaBorowska/enum-map

v2.6.2

08 Sep 08:52
Compare
Choose a tag to compare

Other changes

  • Hide out_of_bounds reexport from documentation.

v2.6.1

01 Aug 18:51
Compare
Choose a tag to compare

Other changes

  • Provide better panic message when providing out-of-bounds index to `Enum::from_usize``.

v2.6.0

30 Jun 18:45
Compare
Choose a tag to compare

New features

  • EnumMap::as_array is now usable in const contexts.

Other changes

  • This crate now follows "N minus two" MSRV policy. This means that it supports the current Rust release, as well as the two before that.

  • Upgraded syn to 2.0.0.

v2.5.0

14 Mar 07:54
Compare
Choose a tag to compare

New features

  • Implemented EnumMap::as_array and EnumMap::as_mut_array (implemented by @Fuuzetsu).
  • Implemented PartialOrd and Ord for EnumMap (implemented by @nicarran).

New Contributors

Full Changelog: v2.4.2...v2.5.0

v2.4.2

17 Dec 10:32
Compare
Choose a tag to compare

Other changes

  • Added license files to crate tarball.
  • Added changelog to crate tarball.

New Contributors

Full Changelog: v2.4.1...v2.4.2

v2.4.1

29 Jul 08:39
Compare
Choose a tag to compare

Other changes

  • Improved performance of code generated for from_usize when deriving Enum. Fixes #23.

v2.4.0

15 Jun 21:11
Compare
Choose a tag to compare

New features

  • Implemented Enum for () (unit type) and core::cmp::Ordering (implemented by @phimuemue).

  • Implemented EnumMap::into_array.

v2.3.0

30 May 06:05
Compare
Choose a tag to compare

New features

  • EnumMap::len is now usable in const contexts.

Other changes

  • Enum derive now can deal with re-definitions of usize and
    unimplemented.