enum-map-derive
Macros 1.1 implementation of #[derive(Enum)]
1.0.1
47M downloads/mo
#1267 most downloaded on crates.io
source
What this package is like to depend on
Last release 20 days ago
03 Aug 2026
Ships unpredictably
gaps range from 8 days to 2.7 years
Rarely documented
notes for 6 of 37 stable releases
1 version withdrawn
withdrawn after publishing
9 years old
40 releases · first in 2017
2 releases in the last 12 months
see the full history below
Release timeline
40 releases · May 2017 to Aug 2026Releases
latest 40-
1.0.103 Aug 2026Nothing published for this version
-
1.0.020 Jul 2026Release notes
Open source →New features
-
It's now possible to use
returnand?withinmacro_rules!macro. -
Enumtrait is much simpler having two methods only.
Other changes
-
Removed previously deprecated features.
-
Renamed
to_usizetointo_usizematching the naming convention used in Rust programming language.
-
-
1.0.0-beta.108 Nov 2023 pre-releaseNothing published for this version
-
1.0.0-0.gat.023 Sep 2023 pre-releaseNothing published for this version
-
0.17.024 Nov 2023Nothing published for this version
-
0.16.016 Nov 2023 withdrawnNothing published for this version
-
0.15.008 Nov 2023Nothing published for this version
-
0.14.010 Sep 2023Nothing published for this version
-
0.13.001 Aug 2023Nothing published for this version
-
0.12.030 Jun 2023Nothing published for this version
-
0.11.017 Dec 2022Nothing published for this version
-
0.10.028 Jul 2022Nothing published for this version
-
0.9.029 May 2022Nothing published for this version
-
0.8.027 Jan 2022Nothing published for this version
-
0.7.001 Oct 2021Nothing published for this version
-
0.6.016 May 2021 -
0.5.028 Mar 2021Release notes
Open source →- Fixed the issue where an aliasing
Fromtrait implementation caused compilation errors withenum_map!macro.
Incompatible changes
- Now requires Rust 1.31.
- Fixed the issue where an aliasing
-
0.4.627 Oct 2020Nothing published for this version
-
0.4.519 Oct 2020Nothing published for this version
-
0.4.419 Oct 2020Nothing published for this version
-
0.4.310 Sep 2019Nothing published for this version
-
0.4.214 Aug 2019Nothing published for this version
-
0.4.118 Jan 2019Release notes
Open source →New features
- Default
serdefeatures are disabled. This allows enabling serde feature when compiling withoutstd.
- Default
-
0.4.006 Jun 2018Release notes
Open source →Change of
#[derive(EnumMap)]to#[derive(Enum)]was supposed to appear in 0.3.0, but it was forgotten about. This release fixes just that.Incompatible changes
- Changed
#[derive(EnumMap)]to#[derive(Enum)]to match trait name.
- Changed
-
0.3.005 Jun 2018Release notes
Open source →New features
-
Implemented compact serde serialization for binary formats like bincode.
-
Iterator traits with exception now implement
FusedIterator.
Incompatible changes
-
Increased required Rust version to 1.26.0.
-
Renamed
Internaltrait toEnum. -
Added new associated constant
POSSIBLE_VALUEStoEnumtrait, representing the number of possible values the type can have. Manual implementations are required to provide it. -
Removed
Enumimplementation forOption<T>. -
Implemented compact serialization, for formats like
bincode. This makes it impossible to deserialize non-compact representation used by enum-map 0.2.0. -
valuesmethod returnsValues<V>as opposed toslice::Iter<V>.
-
-
0.2.1006 Jun 2018Nothing published for this version
-
0.2.905 Jun 2018Nothing published for this version
-
0.2.805 Jun 2018Nothing published for this version
-
0.2.701 Jun 2018Nothing published for this version
-
0.2.621 May 2018Nothing published for this version
-
0.2.501 Apr 2018Nothing published for this version
-
0.2.406 Sep 2017Nothing published for this version
-
0.2.329 Aug 2017Nothing published for this version
-
0.2.218 May 2017Nothing published for this version
-
0.2.117 May 2017Nothing published for this version
-
0.2.017 May 2017Nothing published for this version
-
0.1.317 May 2017Nothing published for this version
-
0.1.217 May 2017Nothing published for this version
-
0.1.116 May 2017Nothing published for this version
-
0.1.016 May 2017Nothing published for this version