aboutsummaryrefslogtreecommitdiff
path: root/examples/example-basic
Commit message (Collapse)AuthorAgeFilesLines
* feat(picker2): complete Picker2 prototype魏曹先生26 hours1-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Picker2 replaces the original Picker1 with a two-phase (tag → pick) + mask-bitmap architecture, decoupling argument matching from type conversion via a composable matcher pipeline. Architecture - FlagMatcher — boolean flags (--verbose) - ArgMatcher — single flag+value pairs (--name Alice) - MultiArgMatcher — multi-value flag groups (--files a.txt b.txt) - PositionalMatcher — positional arguments, respects `--` - SingleMatcher — composite for Single-type Pickables Types - Flag (Active/Inactive) — semantic bool flag value - String + 14 numeric types via SinglePickable trait - Vec<T> — greedy multi-value (all SinglePickable types) - VecUntil<T> — bounded multi-value via BoundaryCheck trait - VecUntil<T>, pick_string, pick_numbers, pick_bool, pick_flag Style system - UNIX_STYLE (kebab), POWERSHELL_STYLE (Pascal), WINDOWS_STYLE (Pascal) - naming_case auto-conversion via just_fmt integration - Style-aware separator (= for Unix, : for PS/Windows) Infrastructure - internal_repeat! macro generates PickerPattern1..=32 - SinglePickable blanket impl → Pickable - MultiPickableWithBoundary trait with greedy/bounded variants - 151 integration tests - Docs updated for parser feature
* refactor(examples): migrate renderers to return RenderResult and add魏曹先生7 days1-2/+5
| | | | | | | | | std::io::Write import Replace r_println!/r_print! macro usage across all example renderers with explicit RenderResult construction using std::io::Write, enabling more flexible output handling and reducing reliance on macro-side effects.
* chore: bump workspace version to 0.3.0魏曹先生7 days1-7/+3
|
* chore: switch workspace dependencies from path to versioned 0.2.20.2.2魏曹先生8 days1-0/+4
|
* chore: bump mingling crates from 0.2.1 to 0.2.2魏曹先生8 days1-3/+3
|
* chore: remove published source checksums from example Cargo.lock files魏曹先生8 days1-4/+0
|
* chore(examples): add source and checksum to mingling_core/macros in魏曹先生2026-07-021-0/+4
| | | | Cargo.lock
* chore: bump version to 0.2.1 and switch deps to path魏曹先生2026-06-301-7/+3
|
* Released Mingling 0.2.00.2.0魏曹先生2026-06-301-0/+4
|
* chore: clean up Cargo.toml metadata and update lockfiles魏曹先生2026-06-281-4/+4
|
* Update example descriptions with meaningful docs魏曹先生2026-06-151-1/+1
|
* Simplify workspace exclude patterns and add workspace stanzasWeicao-CatilGrass2026-06-121-0/+2
|
* Add example pages and sync-examples tool for docs魏曹先生2026-06-051-0/+10
|
* Enhance code quality across the entire codebaseWeicao-CatilGrass2026-05-311-0/+1
|
* Bump version to 0.2.0魏曹先生2026-05-311-7/+3
|
* Update CHANGELOG and switch to published crate versions0.1.9魏曹先生2026-05-291-0/+4
|
* Rework examples and add entry macro for testingWeicao-CatilGrass2026-05-233-30/+53
|
* Remove `once_cell` dependency and replace with `OnceLock`魏曹先生2026-05-211-8/+0
|
* Update example version to 0.1.9魏曹先生2026-05-181-7/+3
|
* Switch mingling_core and mingling_macros to use published crate versions0.1.8Weicao-CatilGrass2026-05-181-0/+4
|
* Rename `NextProcess` to `Next` across the codebaseWeicao-CatilGrass2026-05-171-1/+1
|
* Simplify example imports to use prelude and add resources example魏曹先生2026-05-161-1/+1
| | | | | | | | | Add a new example demonstrating global resource injection in chain functions, and update all existing examples to import from `mingling::prelude` instead of individual macro paths. Also add `example-resources` to the workspace exclude list.
* Remove thiserror dependency and implement error types manually魏曹先生2026-05-151-21/+0
|
* Update mingling from 0.1.7 to 0.1.8魏曹先生2026-05-071-7/+3
|
* Switch to published crates and update README for v0.1.70.1.7魏曹先生2026-05-041-0/+4
|
* Enforce `NextProcess` return type in chain functions and update examples魏曹先生2026-05-021-1/+1
|
* Remove unused `ChainProcess` import in examples魏曹先生2026-04-271-4/+1
|
* Remove `marker::NextProcess` and generate it via `gen_program!`Weicao-CatilGrass2026-04-271-2/+2
|
* Bump mingling version to 0.1.7 and use local dependencies魏曹先生2026-04-211-7/+3
|
* Update core and macros dependencies to version 0.1.60.1.6魏曹先生2026-04-201-2/+6
|
* Bump version to 0.1.6魏曹先生2026-04-191-3/+3
| | | | | | - mingling: 0.1.5 → 0.1.6 - mingling_core: 0.1.4 → 0.1.5 - mingling_macros: 0.1.4 → 0.1.5
* Make async an optional feature魏曹先生2026-04-193-41/+3
|
* Remove comp module and add EnumTag derive macro魏曹先生2026-04-131-4/+0
|
* Update Cargo.lock for published mingling crates0.1.5魏曹先生2026-04-121-1/+5
|
* Remove workspace Cargo.lock and add per-example lockfiles魏曹先生2026-04-112-2/+143
|
* Remove serde dependency from example projects魏曹先生2026-04-111-1/+0
|
* Add example-completion and update workspace dependencies魏曹先生2026-04-111-1/+1
|
* Switch from published mingling crate to local workspace dependency魏曹先生2026-04-091-4/+4
|
* Add workspace configuration and examples魏曹先生2026-04-062-0/+60