#enums #convert #boilerplate #derive #proc-macro #no-alloc

no-std asenum

Small derive macro to safely convert the numerical value of an enum to the enum

1 unstable release

0.1.0 Jan 11, 2025

#1210 in Rust patterns

Download history 146/week @ 2025-01-11 7/week @ 2025-01-18 3/week @ 2025-02-01

156 downloads per month

Apache-2.0

3KB

Small derive macro to safely convert the numerical value of an enum to the enum.

Dependencies

~220–660KB
~16K SLoC