#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

#2649 in Data structures

Download history 138106/week @ 2024-09-26 125281/week @ 2024-10-03 137569/week @ 2024-10-10 147769/week @ 2024-10-17 149438/week @ 2024-10-24 147377/week @ 2024-10-31 160094/week @ 2024-11-07 201898/week @ 2024-11-14 159368/week @ 2024-11-21 165094/week @ 2024-11-28 172624/week @ 2024-12-05 179892/week @ 2024-12-12 98704/week @ 2024-12-19 71470/week @ 2024-12-26 134637/week @ 2025-01-02 141154/week @ 2025-01-09

478,696 downloads per month
Used in 699 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

~185–610KB
~15K SLoC