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. --- docs/example-pages/examples.json | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'docs/example-pages') diff --git a/docs/example-pages/examples.json b/docs/example-pages/examples.json index 31336f1..8d6eaa6 100644 --- a/docs/example-pages/examples.json +++ b/docs/example-pages/examples.json @@ -15,21 +15,6 @@ "Cargo.toml" ] }, - { - "id": "example-argument-parse", - "name": "Argument Parse", - "icon": "📋", - "category": "parsing", - "desc": "Shows how to use Mingling's `parser` feature with a `Picker` to extract and validate typed arguments from the command line.\n", - "tags": [ - "pick", - "Pickable" - ], - "files": [ - "src/main.rs", - "Cargo.toml" - ] - }, { "id": "example-argument-picker", "name": "Argument Picker", @@ -143,21 +128,6 @@ "Cargo.toml" ] }, - { - "id": "example-custom-pickable", - "name": "Custom Pickable", - "icon": "🎯", - "category": "parsing", - "desc": "Shows how to implement the `Pickable` trait on custom types for seamless extraction from CLI arguments via Picker.\n", - "tags": [ - "Pickable", - "custom" - ], - "files": [ - "src/main.rs", - "Cargo.toml" - ] - }, { "id": "example-dispatch-tree", "name": "Dispatch Tree", -- cgit