#enums #macro-derive #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

#1804 in Data structures

Download history 63396/week @ 2023-12-10 71182/week @ 2023-12-17 36662/week @ 2023-12-24 55371/week @ 2023-12-31 65818/week @ 2024-01-07 71841/week @ 2024-01-14 79739/week @ 2024-01-21 69691/week @ 2024-01-28 84378/week @ 2024-02-04 101435/week @ 2024-02-11 80134/week @ 2024-02-18 99777/week @ 2024-02-25 98332/week @ 2024-03-03 102868/week @ 2024-03-10 112508/week @ 2024-03-17 104112/week @ 2024-03-24

423,384 downloads per month
Used in 502 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

~305–750KB
~18K SLoC