#macro-derive #enums #type #utiliy #macro

macro try_as_macros

Macros to ease using enums whose sole purpose is to enumerate a set of types

1 unstable release

0.1.0 Dec 22, 2022

#333 in #type

Download history 81/week @ 2025-10-08 59/week @ 2025-10-15 73/week @ 2025-10-22 54/week @ 2025-10-29 67/week @ 2025-11-05 54/week @ 2025-11-12 53/week @ 2025-11-19 29/week @ 2025-11-26 63/week @ 2025-12-03 27/week @ 2025-12-10 12/week @ 2025-12-17 23/week @ 2025-12-24 16/week @ 2025-12-31 9/week @ 2026-01-07 16/week @ 2026-01-14 156/week @ 2026-01-21

198 downloads per month
Used in 3 crates (via try_as)

Custom license

12KB
167 lines

A set of macros to ease using enums whose sole purpose is to enumerate a set of types, used by the crate try_as.

See the the crate documentation for more information and documentation on how to use the macros.

Dependencies

~1.5MB
~40K SLoC