#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 169/week @ 2024-10-13 47/week @ 2024-10-20 49/week @ 2024-10-27 73/week @ 2024-11-03 49/week @ 2024-11-10 39/week @ 2024-11-17 80/week @ 2024-11-24 159/week @ 2024-12-01 238/week @ 2024-12-08 74/week @ 2024-12-15 8/week @ 2024-12-22 20/week @ 2024-12-29 72/week @ 2025-01-05 79/week @ 2025-01-12 47/week @ 2025-01-19 23/week @ 2025-01-26

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

MIT license

10KB
188 lines

Derive crate for enum-variants-strings

Dependencies

~225–660KB
~16K SLoC