#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

#15 in #variant-name

Download history 184/week @ 2024-10-09 58/week @ 2024-10-16 43/week @ 2024-10-23 59/week @ 2024-10-30 59/week @ 2024-11-06 47/week @ 2024-11-13 49/week @ 2024-11-20 173/week @ 2024-11-27 124/week @ 2024-12-04 191/week @ 2024-12-11 45/week @ 2024-12-18 6/week @ 2024-12-25 35/week @ 2025-01-01 87/week @ 2025-01-08 71/week @ 2025-01-15 24/week @ 2025-01-22

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

MIT license

10KB
188 lines

Derive crate for enum-variants-strings

Dependencies

~245–690KB
~16K SLoC