aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/lib.rs')
-rw-r--r--mingling/src/lib.rs14
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::*;
}