diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-13 21:19:03 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-13 21:19:03 +0800 |
| commit | 17cf59fe8220ac5befbbe8333fa0515ab532103d (patch) | |
| tree | c2470e6ecc44a74fc40eef8b5bc36901b9e939c6 /mingling/src/lib.rs | |
| parent | b4cef6e601777b8c4b18df118689f8ac310fa835 (diff) | |
Remove comp module and add EnumTag derive macro
Diffstat (limited to 'mingling/src/lib.rs')
| -rw-r--r-- | mingling/src/lib.rs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index e2aa54a..5f45228 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -59,8 +59,6 @@ //! `Mingling` provides detailed usage examples for your reference. //! See [Examples](_mingling_examples/index.html) -#[cfg(feature = "comp")] -mod comp; mod example_docs; // Re-export Core lib @@ -105,16 +103,17 @@ pub mod macros { #[cfg(feature = "comp")] /// Used to generate suggestions pub use mingling_macros::suggest; + #[cfg(feature = "comp")] + /// Used to generate enum suggestions + pub use mingling_macros::suggest_enum; } +/// derive macro EnumTag +pub use mingling_macros::EnumTag; + /// derive macro Groupped pub use mingling_macros::Groupped; -#[cfg(feature = "comp")] -pub mod comp_tools { - pub use crate::comp::*; -} - /// Example projects for `Mingling`, for learning how to use `Mingling` pub mod _mingling_examples { pub use crate::example_docs::*; |
