#enum-variant #enums-string #name #macro-for-converting

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

#10 in #macro-for-converting

Download history 2148/week @ 2025-10-21 866/week @ 2025-10-28 1505/week @ 2025-11-04 1721/week @ 2025-11-11 1788/week @ 2025-11-18 1814/week @ 2025-11-25 2666/week @ 2025-12-02 2108/week @ 2025-12-09 1528/week @ 2025-12-16 841/week @ 2025-12-23 951/week @ 2025-12-30 1690/week @ 2026-01-06 1950/week @ 2026-01-13 2072/week @ 2026-01-20 1807/week @ 2026-01-27 2343/week @ 2026-02-03

8,513 downloads per month
Used in 12 crates (via enum-variants-strings)

MIT license

10KB
188 lines

Derive crate for enum-variants-strings

Dependencies

~160–550KB
~13K SLoC