aboutsummaryrefslogtreecommitdiff
path: root/mingling_picker/src/requirement.rs
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rename requirement.rs to flag.rs魏曹先生44 hours1-122/+0
|
* refactor: rename PickerArguments to PickerArgs and PickerRequirement to魏曹先生2 days1-3/+3
| | | | PickerFlag
* refactor(mingling_picker): move parse result out of requirement and into魏曹先生2 days1-38/+10
| | | | | | | | | | pattern BREAKING CHANGE: `PickerRequirement` no longer stores a `PickerResult`. Parsed results are now held in the `PickerPattern` structs. The `result`, `result_mut`, `set_result`, `reset_result`, and `with_result` methods on `PickerRequirement` have been removed. The `Picker::pick` method is introduced to begin a pattern definition.
* feat(picker): add core trait, types, and builder macro for argument魏曹先生2 days1-0/+150
parsing Implement the foundational `mingling_picker` library along with its companion `mingling_picker_macros` crate. The picker provides: - `Pickable` trait for parsing types from raw strings - `PickerResult` enum modeling parse outcomes - `Picker` struct for storing and indexing command-line arguments - `PickerRequirement` struct for declarative parameter definitions - `PickerPattern` family (1..32) of typed pattern structs via the `internal_repeat` proc macro - `req!` proc macro as a succinct builder for `PickerRequirement` Re-export `mingling_picker::macros::*` from the `mingling` crate when the `picker` feature is enabled, replacing the previous wildcard re-export of `mingling_macros`.