aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-02 12:16:06 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-02 12:16:06 +0800
commitbaa4a8ec475ba8e7887fc8fa17582830411f1355 (patch)
treef60b4f5839dee21e69ca97b4f3df0b664575154f /CHANGELOG.md
parent43fadfa22b1f28382338c892d91a6c388b5e540c (diff)
revert: Remove picker_comp module and PickerArgSuggest trait
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md8
1 files changed, 0 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4780d0f..514d186 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -150,14 +150,6 @@ None
7. **[`core`]** **[`comp`]** Added `Suggest::combine(self, other: impl Into<Suggest>) -> Self` method that merges two `Suggest` values. If both are `Suggest::Suggest`, their inner `BTreeSet`s are merged (all items from `other` are added into `self`). Otherwise, the first `Suggest::Suggest` (or `FileCompletion`) is returned unchanged, and the other value is discarded. This enables ergonomic aggregation of completion suggestions from multiple sources.
-8. **[`picker_comp`]** Added `mingling::picker_comp` module behind `cfg(all(feature = "picker", feature = "comp"))` with a `PickerArgSuggest` trait and its implementation for `&PickerArg<'a, T>`. The trait provides:
-
- - **`into_suggest(self)`** — Converts the picker argument's known flags into a `Suggest` collection of `SuggestItem::Simple` entries.
- - **`into_suggest_with_desc(self, description)`** — Same as `into_suggest` but wraps each flag in `SuggestItem::WithDescription`.
- - **`into_suggest_raw(self, description: Option<&String>)`** — The core method; builds the list of possible flags from `arg_picker::parselib::build_possible_flags` and inserts each into the `Suggest` set, optionally carrying a description.
-
- This bridges the `picker` and `comp` (completion) subsystems, allowing picker arguments to be reused as completion candidates.
-
#### **BREAKING CHANGES** (API CHANGES):
1. **[`macros`]** **[BREAKING]** Renamed the `extra_macros` feature to `extras`. All feature-gated macro re-exports in `mingling/src/lib.rs` (and throughout the codebase) have been updated from `#[cfg(feature = "extra_macros")]` to `#[cfg(feature = "extras")]`.