#data-structure #no-std #enum

macro no-std enum-map-derive

Macros 1.1 implementation of #[derive(Enum)]

29 releases

Uses new Rust 2021

0.10.0 Jul 28, 2022
0.8.0 Jan 27, 2022
0.7.0 Oct 1, 2021
0.6.0 May 16, 2021
0.2.2 May 18, 2017

#996 in Data structures

Download history 22262/week @ 2022-06-07 21928/week @ 2022-06-14 23476/week @ 2022-06-21 21217/week @ 2022-06-28 19641/week @ 2022-07-05 20362/week @ 2022-07-12 22864/week @ 2022-07-19 26496/week @ 2022-07-26 26927/week @ 2022-08-02 27373/week @ 2022-08-09 27521/week @ 2022-08-16 28200/week @ 2022-08-23 21068/week @ 2022-08-30 21010/week @ 2022-09-06 20486/week @ 2022-09-13 16362/week @ 2022-09-20

83,207 downloads per month
Used in 201 crates (4 directly)

MIT/Apache

17KB
268 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

~220–630KB
~15K SLoC