diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-17 04:05:41 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-17 04:05:41 +0800 |
| commit | aa251efb87b561f62266628f06ad341253fbbdc5 (patch) | |
| tree | 7d2cc2f34f3e4a7282d8d6f0ec0f5ae4bfc87002 /mingling/src/lib.rs | |
| parent | c23c590330af83afb6e146bcd9b0a274b3689d22 (diff) | |
refactor!: remove legacy parser feature and migrate to picker
The legacy `parser` feature and its module tree (`mingling::parser`,
`Argument`, `Picker`, `Pickable`, etc.) have been fully removed and
replaced by the `picker` feature powered by `arg-picker`.
BREAKING CHANGE: Remove `parser` feature and use `picker` instead.
Migration guide: Replace `features = ["parser"]` with
`features = ["picker"]` and update API usage per the provided table.
Diffstat (limited to 'mingling/src/lib.rs')
| -rw-r--r-- | mingling/src/lib.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index 3707289..2596a9c 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -36,10 +36,6 @@ pub use mingling::*; #[cfg(feature = "core")] pub use mingling_core as mingling; -/// `Mingling` argument parser (Built-in) -#[cfg(feature = "parser")] -pub mod parser; - /// `Mingling` argument parser (Picker2) #[cfg(feature = "picker")] pub mod picker; @@ -231,11 +227,9 @@ pub mod prelude { pub use mingling_macros::r_println; #[cfg(all(feature = "macros", feature = "comp"))] + #[cfg(feature = "comp")] pub use crate::macros::completion; - #[cfg(feature = "parser")] - pub use crate::parser::AsPicker; - #[cfg(feature = "picker")] pub use arg_picker::prelude::arg; |
