aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arg_picker/Cargo.toml3
-rw-r--r--mingling/Cargo.toml2
-rw-r--r--mingling/src/lib.rs5
3 files changed, 8 insertions, 2 deletions
diff --git a/arg_picker/Cargo.toml b/arg_picker/Cargo.toml
index 913719e..d87a844 100644
--- a/arg_picker/Cargo.toml
+++ b/arg_picker/Cargo.toml
@@ -8,6 +8,9 @@ authors = ["Weicao-CatilGrass"]
readme = "README.md"
description = "A lightweight, type-safe CLI argument parser"
+[features]
+mingling_support = ["arg-picker-macros/mingling_support"]
+
[dependencies]
arg-picker-macros.workspace = true
just_fmt.workspace = true
diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml
index 6945b67..adf900f 100644
--- a/mingling/Cargo.toml
+++ b/mingling/Cargo.toml
@@ -50,7 +50,7 @@ dispatch_tree = ["mingling_core/dispatch_tree", "mingling_macros/dispatch_tree"]
repl = ["mingling_core/repl", "mingling_macros/repl"]
comp = ["mingling_core/comp", "mingling_macros/comp"]
parser = ["dep:size"]
-picker = ["dep:arg-picker"]
+picker = ["dep:arg-picker", "arg-picker/mingling_support"]
pathf = ["mingling_core/pathf", "mingling_macros/pathf"]
structural_renderer = [
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs
index 499390d..4b3ced6 100644
--- a/mingling/src/lib.rs
+++ b/mingling/src/lib.rs
@@ -218,7 +218,10 @@ pub mod prelude {
pub use crate::parser::AsPicker;
#[cfg(feature = "picker")]
- pub use arg_picker::prelude::*;
+ pub use arg_picker::prelude::arg;
+
+ #[cfg(feature = "picker")]
+ pub use crate::picker::EntryPicker;
/// Used to enable the `writeln!` macro for `RenderResult`
#[cfg(feature = "core")]