#enums #macro-derive #enum-map #no-std

macro no-std enum-map-derive

Macros 1.1 implementation of #[derive(Enum)]

37 releases (15 breaking)

1.0.0-beta.1 Nov 8, 2023
0.17.0 Nov 24, 2023
0.12.0 Jun 30, 2023
0.11.0 Dec 17, 2022
0.2.2 May 18, 2017

#2500 in Data structures

Download history 114336/week @ 2024-07-23 112943/week @ 2024-07-30 115019/week @ 2024-08-06 103104/week @ 2024-08-13 114240/week @ 2024-08-20 117780/week @ 2024-08-27 125511/week @ 2024-09-03 110023/week @ 2024-09-10 115039/week @ 2024-09-17 130230/week @ 2024-09-24 135298/week @ 2024-10-01 124279/week @ 2024-10-08 149375/week @ 2024-10-15 148815/week @ 2024-10-22 150400/week @ 2024-10-29 152009/week @ 2024-11-05

622,410 downloads per month
Used in 650 crates (5 directly)

MIT/Apache

18KB
260 lines

enum-map-derive

This is a derive macro for enum-map. You don't need to specify it in dependencies as enum-map crate re-exports it.


lib.rs:

Procedural macro implementing #[derive(Enum)]

This is supposed to used with enum-map crate, which provides the actual usage documentation.

Dependencies

~225–670KB
~16K SLoC