This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
Releases: KamilaBorowska/enum-map
Releases · KamilaBorowska/enum-map
v2.6.2
v2.6.1
Other changes
- Provide better panic message when providing out-of-bounds index to `Enum::from_usize``.
v2.6.0
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
New features
- Implemented
EnumMap::as_array
andEnumMap::as_mut_array
(implemented by @Fuuzetsu). - Implemented
PartialOrd
andOrd
forEnumMap
(implemented by @nicarran).
New Contributors
Full Changelog: v2.4.2...v2.5.0
v2.4.2
Other changes
- Added license files to crate tarball.
- Added changelog to crate tarball.
New Contributors
- @michel-slm made their first contribution in #33
Full Changelog: v2.4.1...v2.4.2
v2.4.1
v2.4.0
New features
-
Implemented
Enum
for()
(unit type) andcore::cmp::Ordering
(implemented by @phimuemue). -
Implemented
EnumMap::into_array
.
v2.3.0
New features
EnumMap::len
is now usable in const contexts.
Other changes
Enum
derive now can deal with re-definitions ofusize
and
unimplemented
.