#newtype #enums #proc-macro #macro #no-std

macro no-std newtype-enum-macro

Procedural macro to generate newtype enums

1 unstable release

0.1.0 May 11, 2020

#84 in #newtype

Download history 5/week @ 2024-09-18 7/week @ 2024-09-25

313 downloads per month
Used in newtype-enum

MIT/Apache

14KB
275 lines

Crates.io API Documentation Workflow Status

newtype-enum-macro

Provide the #[newtype_enum] attribute macro to derive the Enum and Variant traits from the newtype-enum crate.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2MB
~45K SLoC