| 1 | // SPDX-License-Identifier: Apache-2.0 OR MIT |
| 2 | |
| 3 | #![allow (clippy::unnecessary_wraps)] |
| 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 | mod prelude { |
| 12 | pub(super) use derive_utils::{derive_trait, EnumData as Data, EnumImpl}; |
| 13 | pub(super) use proc_macro2::TokenStream; |
| 14 | pub(super) use quote::{format_ident, quote, ToTokens as _}; |
| 15 | pub(super) use syn::{parse_quote, Result}; |
| 16 | |
| 17 | pub(super) use crate::enum_derive::DeriveContext as Context; |
| 18 | } |
| 19 | |