diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-11 01:51:35 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-11 01:51:35 +0800 |
| commit | 9245799135458d9afd5e779b6d061cee0962d585 (patch) | |
| tree | 1ed86601fd566ea4373fa34dd16e5c8a798707ac /mingling/src | |
| parent | fe2f3405f518e5ad34fc6f6e409fdfafbb10e8d9 (diff) | |
feat: add mingling-picker and mingling-picker-macros crates
Diffstat (limited to 'mingling/src')
| -rw-r--r-- | mingling/src/lib.rs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index 0fd4ece..ff8890c 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -71,10 +71,16 @@ mod example_docs; pub use mingling::*; pub use mingling_core as mingling; -/// `Mingling` argument parser +/// `Mingling` argument parser (Built-in) #[cfg(feature = "parser")] pub mod parser; +/// `Mingling` argument parser (Picker2) +#[cfg(feature = "picker")] +pub mod picker { + pub use mingling_picker::*; +} + /// Re-export of all macros from `mingling_macros`. /// /// This module re-exports all macros provided by the `mingling_macros` crate, @@ -162,6 +168,9 @@ pub mod macros { /// `suggest_enum!(EnumNames)` - Used to generate enum suggestions #[cfg(feature = "comp")] pub use mingling_macros::suggest_enum; + + #[cfg(feature = "picker")] + pub use mingling_macros::*; } /// derive macro `EnumTag` @@ -250,4 +259,7 @@ pub mod prelude { /// Re-export of the `AsPicker` trait for picker functionality. #[cfg(feature = "parser")] pub use crate::parser::AsPicker; + + #[cfg(feature = "picker")] + pub use mingling_picker::prelude::*; } |
