#enums #variant #string #name #instance #macro #enum-variants-strings

macro enum-variants-strings-derive

Derive macro for converting instances of enums to and from strs using variant names

7 releases

0.3.0 Mar 1, 2024
0.2.4 Apr 11, 2023
0.2.2 Mar 7, 2023
0.2.1 Dec 30, 2022
0.1.0 Dec 22, 2021

#2413 in Procedural macros

Download history 308/week @ 2023-11-20 168/week @ 2023-11-27 182/week @ 2023-12-04 182/week @ 2023-12-11 247/week @ 2023-12-18 250/week @ 2023-12-25 248/week @ 2024-01-01 256/week @ 2024-01-08 116/week @ 2024-01-15 39/week @ 2024-01-22 78/week @ 2024-01-29 92/week @ 2024-02-05 106/week @ 2024-02-12 93/week @ 2024-02-19 269/week @ 2024-02-26 131/week @ 2024-03-04

603 downloads per month
Used in 11 crates (via enum-variants-strings)

MIT license

10KB
188 lines

Derive crate for enum-variants-strings

Dependencies

~305–750KB
~18K SLoC