#variant #enums #variant-name #string #instance #converting #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

#12 in #variant-name

Download history 53/week @ 2024-07-19 90/week @ 2024-07-26 121/week @ 2024-08-02 113/week @ 2024-08-09 80/week @ 2024-08-16 101/week @ 2024-08-23 195/week @ 2024-08-30 117/week @ 2024-09-06 111/week @ 2024-09-13 98/week @ 2024-09-20 63/week @ 2024-09-27 77/week @ 2024-10-04 184/week @ 2024-10-11 45/week @ 2024-10-18 33/week @ 2024-10-25 58/week @ 2024-11-01

328 downloads per month
Used in 12 crates (via enum-variants-strings)

MIT license

10KB
188 lines

Derive crate for enum-variants-strings

Dependencies

~250–700KB
~16K SLoC