From 4a4591affcdb9fef4025e1493546ea77132ce7d2 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 20 Aug 2026 05:05:41 +0800 Subject: feat: adjust feature presets in mingling Move `pathf` to `advanced` and remove it from `full`, while removing `dispatch_tree` from `advanced`. --- CHANGELOG.md | 5 +++++ mingling/Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f87fbb2..185b78c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -524,6 +524,11 @@ None _No behavioral changes — the setup still registers the same `ResExitCode` resource (initialised to `0`) and installs the same program-finish hook that overrides the program's exit code when the resource holds a non-zero value. The type simplification is purely ergonomic._ +11. **[`features`]** Updated the preset feature groups in `mingling/Cargo.toml`: + +- **`advanced`** — Changed from `extras`, `picker`, `repl`, `comp`, `dispatch_tree`, `structural_renderer` to `extras`, `picker`, `repl`, `comp`, `structural_renderer`, `pathf`. The `dispatch_tree` feature was removed and `pathf` was added. +- **`full`** — Changed from `extras`, `picker`, `repl`, `clap`, `comp`, `dispatch_tree`, `structural_renderer_full`, `pathf` to `extras`, `picker`, `repl`, `clap`, `comp`, `dispatch_tree`, `structural_renderer_full`. The `pathf` feature was removed, while `dispatch_tree` remains. + --- ## Contents diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml index 92cca39..f0515d8 100644 --- a/mingling/Cargo.toml +++ b/mingling/Cargo.toml @@ -37,8 +37,8 @@ features = [ # Presets mini = ["extras", "picker"] -advanced = ["extras", "picker", "repl", "comp", "dispatch_tree", "structural_renderer"] -full = ["extras", "picker", "repl", "clap", "comp", "dispatch_tree", "structural_renderer_full", "pathf"] +advanced = ["extras", "picker", "repl", "comp", "structural_renderer", "pathf"] +full = ["extras", "picker", "repl", "clap", "comp", "dispatch_tree", "structural_renderer_full"] # Core core = ["dep:mingling_core", "mingling_core/default"] -- cgit