1 | // SPDX-License-Identifier: Apache-2.0 OR MIT |
---|---|
2 | |
3 | #![allow(clippy::unnecessary_wraps, clippy::wildcard_imports)] |
4 | |
5 | pub(crate) mod core; |
6 | pub(crate) mod external; |
7 | #[cfg(feature = "std")] |
8 | pub(crate) mod std; |
9 | pub(crate) mod ty_impls; |
10 | |
11 | use derive_utils::{derive_trait, EnumData as Data, EnumImpl}; |
12 | use proc_macro2::TokenStream; |
13 | use quote::{format_ident, quote}; |
14 | use syn::{parse_quote, Result}; |
15 | |
16 | use crate::enum_derive::DeriveContext as Context; |
17 |