aboutsummaryrefslogtreecommitdiff
path: root/mingling
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-19 01:17:20 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-19 01:17:20 +0800
commit3518ba185a46358e9d476983213c74678ceba917 (patch)
tree525e0a897d6d0169f48bc2e194b5c3bf5ee46a31 /mingling
parentb0cb0735d11b288ffce0ae3819f7314db3fb10b4 (diff)
feat(arg_picker): add mingling_support feature flag
Diffstat (limited to 'mingling')
-rw-r--r--mingling/Cargo.toml2
-rw-r--r--mingling/src/lib.rs5
2 files changed, 5 insertions, 2 deletions
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")]