From aa251efb87b561f62266628f06ad341253fbbdc5 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 17 Aug 2026 04:05:41 +0800 Subject: 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. --- mingling/src/features.rs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'mingling/src/features.rs') diff --git a/mingling/src/features.rs b/mingling/src/features.rs index 2925f03..9445328 100644 --- a/mingling/src/features.rs +++ b/mingling/src/features.rs @@ -229,17 +229,6 @@ pub const MINGLING_NIGHTLY: bool = false; #[cfg(feature = "nightly")] #[allow(unused)] pub const MINGLING_NIGHTLY: bool = true; -/// Whether the `parser` feature is enabled -/// Current: `disabled` -#[cfg(not(feature = "parser"))] -#[allow(unused)] -pub const MINGLING_PARSER: bool = false; - -/// Whether the `parser` feature is enabled -/// Current: `enabled` -#[cfg(feature = "parser")] -#[allow(unused)] -pub const MINGLING_PARSER: bool = true; /// Whether the `pathf` feature is enabled /// Current: `disabled` #[cfg(not(feature = "pathf"))] -- cgit