#derive #enum #transform #string #enum-variants #strings #enums #variants

macro enum-variants-strings-derive

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

6 releases

0.2.4 Apr 11, 2023
0.2.3 Apr 11, 2023
0.2.2 Mar 7, 2023
0.2.1 Dec 30, 2022
0.1.0 Dec 22, 2021

#227 in #enum

Download history 303/week @ 2023-10-29 581/week @ 2023-11-05 371/week @ 2023-11-12 388/week @ 2023-11-19 231/week @ 2023-11-26 239/week @ 2023-12-03 227/week @ 2023-12-10 292/week @ 2023-12-17 347/week @ 2023-12-24 277/week @ 2023-12-31 341/week @ 2024-01-07 186/week @ 2024-01-14 88/week @ 2024-01-21 131/week @ 2024-01-28 138/week @ 2024-02-04 138/week @ 2024-02-11

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

MIT license

10KB
185 lines

Derive crate for enum-variants-strings

Dependencies

~1.5MB
~33K SLoC