#enum #derive #strings #string #macro #derive-macro #variant #enum-variants #enums #variants

macro enum-variants-strings-derive

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

3 unstable releases

0.2.1 Dec 30, 2022
0.2.0 Apr 7, 2022
0.1.0 Dec 22, 2021

#2100 in Procedural macros

Download history 10/week @ 2022-10-17 5/week @ 2022-10-24 7/week @ 2022-10-31 6/week @ 2022-11-07 8/week @ 2022-11-14 2/week @ 2022-11-21 2/week @ 2022-11-28 8/week @ 2022-12-05 5/week @ 2022-12-12 9/week @ 2022-12-19 25/week @ 2022-12-26 11/week @ 2023-01-02 7/week @ 2023-01-09 8/week @ 2023-01-16 20/week @ 2023-01-23 20/week @ 2023-01-30

55 downloads per month
Used in enum-variants-strings

MIT license

10KB
202 lines

Derive crate for https://crates.io/crates/enum-variants-strings

Dependencies

~210–610KB
~15K SLoC