#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

#2267 in Data structures

Download history 105451/week @ 2024-06-17 110728/week @ 2024-06-24 104566/week @ 2024-07-01 108524/week @ 2024-07-08 107671/week @ 2024-07-15 112792/week @ 2024-07-22 114473/week @ 2024-07-29 113222/week @ 2024-08-05 104539/week @ 2024-08-12 110643/week @ 2024-08-19 124849/week @ 2024-08-26 118014/week @ 2024-09-02 113062/week @ 2024-09-09 113780/week @ 2024-09-16 130368/week @ 2024-09-23 126843/week @ 2024-09-30

490,252 downloads per month
Used in 631 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

~250–690KB
~17K SLoC