#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

#11 in #variant-name

Download history 16/week @ 2024-07-01 66/week @ 2024-07-08 82/week @ 2024-07-15 38/week @ 2024-07-22 110/week @ 2024-07-29 140/week @ 2024-08-05 88/week @ 2024-08-12 78/week @ 2024-08-19 139/week @ 2024-08-26 175/week @ 2024-09-02 145/week @ 2024-09-09 59/week @ 2024-09-16 110/week @ 2024-09-23 58/week @ 2024-09-30 160/week @ 2024-10-07 90/week @ 2024-10-14

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

MIT license

10KB
188 lines

Derive crate for enum-variants-strings

Dependencies

~250–690KB
~16K SLoC