aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(picker): add optional `core` feature with re-exports魏曹先生43 hours1-0/+3
| | | | | | Define a `core` feature in mingling_picker that gates a new `corebind` module and re-exports its contents. The module is propagated to the upstream `mingling` crate under the same feature flag.
* feat(mingling): make core and macros features optional魏曹先生43 hours1-5/+30
|
* feat(mingling): add ParserStyle and re-export parselib module魏曹先生44 hours1-4/+8
| | | | | | | | | | | Add a configurable `ParserStyle` struct defining option prefix, separator and case-sensitivity conventions, with built-in constants for Unix, PowerShell and Windows styles. Provide a one-time global style setter. Re-export the new `parselib` module from `mingling_picker` and wire it through `mingling`'s `picker` facade. Also relocate `Groupped` and `RenderResult` re-exports in `prelude` for better ordering.
* feat(picker): add core trait, types, and builder macro for argument魏曹先生3 days1-5/+5
| | | | | | | | | | | | | | | | | | | | | | 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`.
* style: Reorder imports and reformat code with cargo fmt魏曹先生5 days1-4/+4
|
* feat(mingling): add Write import and doc comment for picker re-export魏曹先生5 days1-1/+4
|
* feat: require renderers to return RenderResult instead of mutating one魏曹先生5 days1-17/+14
| | | | | | | BREAKING CHANGE: The `render` method on `Renderer`, `HelpRequest`, and `ProgramCollect` now returns `RenderResult` instead of taking `&mut RenderResult`. The `r_print!` and `r_println!` macros have been removed in favor of using `std::io::Write` directly on `RenderResult`.
* feat: add mingling-picker and mingling-picker-macros crates魏曹先生6 days1-1/+13
|
* chore: run cargo fmt and rearrange re-exports in mingling魏曹先生2026-07-021-9/+9
|
* docs: improve documentation, mark internal items as `#[doc(hidden)]`魏曹先生2026-06-271-25/+38
| | | | | | | | Add module-level docs for the hook system, enhance doc examples for macros with usage syntax, fix typos in cross-references, and hide internal debugging macros and mock types from public documentation
* refactor(general_renderer): rename to structural_renderer魏曹先生2026-06-261-6/+6
|
* feat(core): decouple structured output from Groupped trait魏曹先生2026-06-261-0/+19
| | | | | | | Introduce `StructuralData` sealed trait and `pack_structural!` / `group_structural!` / `derive(StructuralData)` macros to control structured rendering separately from grouping. `Groupped` no longer requires `Serialize`.
* Remove all explicit program name modes from macrosremoved-shit魏曹先生2026-06-201-8/+8
|
* Add `group!` macro for registering external types魏曹先生2026-06-201-0/+3
|
* Re-export Groupped trait from prelude魏曹先生2026-06-201-0/+2
|
* Add `pack_err!` macro for error structs with automatic name field魏曹先生2026-06-181-0/+6
|
* Update repository URLs to mingling-rs organizationWeicao-CatilGrass2026-06-101-1/+1
|
* Enhance code quality across the entire codebaseWeicao-CatilGrass2026-05-311-5/+5
|
* Add auto-generated feature flags module and tooling魏曹先生2026-05-291-38/+1
|
* Rename error types with consistent naming convention魏曹先生2026-05-291-1/+1
|
* Rewrite documentation for Mingling library魏曹先生2026-05-281-28/+30
|
* Gate extra_macros items behind the feature flag魏曹先生2026-05-241-0/+2
|
* Move entry, route, and program_setup macros to extra_macros feature魏曹先生2026-05-241-2/+3
| | | | | | Remove these macros from the prelude and gate them behind the `extra_macros` feature flag. Update examples and documentation to enable the new feature where these macros are used.
* Rework examples and add entry macro for testingWeicao-CatilGrass2026-05-231-0/+4
|
* Re-export `mingling_core::setup::*` from `setup` moduleWeicao-CatilGrass2026-05-231-0/+1
|
* Add `empty_result!` macro and `REPL` resource, improve examples魏曹先生2026-05-191-0/+4
|
* Refactor general_renderer into granular format-specific features魏曹先生2026-05-161-0/+12
|
* Add prelude module with common macro and trait re-exports魏曹先生2026-05-151-0/+37
|
* Add scripts for building documentation and update docs魏曹先生2026-05-131-4/+11
|
* Migrate exit code control to resource-based systemWeicao-CatilGrass2026-05-131-0/+8
|
* Add CI tooling and cargo alias `ci`Weicao-CatilGrass2026-05-091-1/+1
|
* Expose compile-time feature flags as public constants魏曹先生2026-05-081-0/+30
|
* Add compile-time dispatch tree generation for O(len) command routing魏曹先生2026-05-071-0/+2
|
* Add missing articles and improve documentation魏曹先生2026-05-031-1/+3
|
* Fix comment and constrain ProgramCollect generic bounds魏曹先生2026-04-291-1/+1
|
* Add `route!` macro for early error routing魏曹先生2026-04-271-0/+2
|
* Rename feature `clap_parser` to `clap`魏曹先生2026-04-261-1/+1
|
* Add help system with `#[help]` macro and `HelpRequest` trait魏曹先生2026-04-251-0/+4
|
* Add `dispatcher_clap` attribute macro behind `clap_parser` feature魏曹先生2026-04-251-0/+3
|
* Add new_with_args and dispatch_args_dynamic to Program魏曹先生2026-04-221-2/+0
| | | | | Remove Display bound from Group type parameter and delete dispatcher_render macro. This is a breaking change.
* Move type registration to pack! and Groupped macros魏曹先生2026-04-201-3/+5
|
* Extract chain and renderer registration into separate macros魏曹先生2026-04-181-0/+4
|
* Add register_type macro and use it in chain and renderer macros魏曹先生2026-04-151-0/+2
|
* Remove comp module and add EnumTag derive macro魏曹先生2026-04-131-7/+6
|
* Add ShellContext helper methods for completion logic魏曹先生2026-04-121-1/+8
|
* Update documentation for features and examples魏曹先生2026-04-111-2/+7
|
* Add dev tools to generate example documentation魏曹先生2026-04-111-158/+4
|
* Add completion system with shell context and dispatcher integration魏曹先生2026-04-101-0/+5
|
* Switch from published mingling crate to local workspace dependency魏曹先生2026-04-091-9/+9
|
* Add basic completion module with shell integration魏曹先生2026-04-091-0/+6
|