diff options
Diffstat (limited to 'mingling')
| -rw-r--r-- | mingling/Cargo.toml | 4 | ||||
| -rw-r--r-- | mingling/src/lib.rs | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml index c3f9511..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:mingling_picker", "mingling_picker/mingling_support"] +picker = ["dep:arg-picker", "arg-picker/mingling_support"] pathf = ["mingling_core/pathf", "mingling_macros/pathf"] structural_renderer = [ @@ -90,6 +90,6 @@ extra_macros = ["mingling_macros/extra_macros"] [dependencies] mingling_core = { workspace = true, optional = true } mingling_macros = { workspace = true, optional = true } -mingling_picker = { workspace = true, optional = true } +arg-picker = { workspace = true, optional = true } serde = { workspace = true, optional = true } size = { version = "0.5", optional = true } diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index ba87f85..44812d6 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -86,10 +86,10 @@ pub mod parser; /// `Mingling` argument parser (Picker2) #[cfg(feature = "picker")] pub mod picker { - pub use mingling_picker::*; + pub use arg_picker::*; pub mod parselib { - pub use mingling_picker::parselib::*; + pub use arg_picker::parselib::*; } } @@ -107,6 +107,9 @@ pub mod picker { #[allow(unused_imports)] #[cfg(feature = "macros")] pub mod macros { + /// New Parser provided by the `picker` feature + #[cfg(feature = "picker")] + pub use arg_picker::macros::*; /// `#[chain]` - Used to generate a struct implementing the `Chain` trait via a method pub use mingling_macros::chain; /// `#[completion(EntryType)]` - Used to generate completion entry @@ -177,9 +180,6 @@ pub mod macros { /// `suggest_enum!(EnumNames)` - Used to generate enum suggestions #[cfg(feature = "comp")] pub use mingling_macros::suggest_enum; - /// New Parser provided by the `picker` feature - #[cfg(feature = "picker")] - pub use mingling_picker::macros::*; } /// derive macro `EnumTag` @@ -286,7 +286,7 @@ pub mod prelude { pub use crate::parser::AsPicker; #[cfg(feature = "picker")] - pub use mingling_picker::prelude::*; + pub use arg_picker::prelude::*; /// Used to enable the `writeln!` macro for `RenderResult` #[cfg(feature = "core")] |
