aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/program/collection
Commit message (Collapse)AuthorAgeFilesLines
* feat(core): move config types to public config module魏曹先生33 hours1-1/+1
| | | | | | | | | Refactor program configuration types into a dedicated public `config` module under `mingling_core`, making `StructuralRendererSetting` accessible via `mingling_core::config` instead of the crate root. Update all internal references and setup modules to use the new `config::` path convention.
* chore: add doc comment for MockProgramCollect魏曹先生47 hours1-5/+24
|
* feat: derive Clone, Copy, PartialEq, Eq for MockProgramCollect魏曹先生48 hours1-0/+1
|
* chore: implement Debug for MockProgramCollect魏曹先生48 hours1-0/+9
|
* feat(collection): add Display impl for MockProgramCollect魏曹先生2 days1-0/+6
|
* chore: add "Doc Not Optimize" comments to source files魏曹先生2 days1-0/+1
| | | | | Mark all source files with a comment indicating they are not optimized for documentation purposes.
* refactor(core): improve code style and public API clarity魏曹先生5 days1-6/+6
| | | | | | | | | | | | | | | | Replace bool-based settings with enums, refine visibility and signatures, and standardize `Self` usage across the crate. - Introduce `ErrorOutput`, `RenderOutput`, `PanicSilence`, `Verbosity`, `ColorOutput`, and `ProgressOutput` enums for clearer configuration semantics - Make `GlobalResources`, `ProgramCell`, and `split_input`/`split_input_string` public - Change hook info parameters to accept references and `split_input_string` to take `&str` - Apply `Self` shorthand throughout implementations and add `#[must_use]` attributes where appropriate - Enable strict clippy lints with targeted allowances
* chore!: rename ErrorDispatcherNotFound to EntryFallback魏曹先生13 days1-2/+2
| | | | | | | | Rename the internal fallback type and its associated `ProgramCollect` plumbing from `ErrorDispatcherNotFound`/`build_dispatcher_not_found` to `EntryFallback`/`build_entry_fallback`, along with the generated enum variant and pack type. Update all documentation, examples, and tests accordingly.
* feat(any): make `Grouped` trait unsafe and encapsulate `AnyOutput`魏曹先生2026-07-211-2/+5
| | | | | | | | | | fields Declare `Grouped` as `unsafe trait` to make its soundness invariant visible. Make `AnyOutput.type_id` and `member_id` private; add public accessors and the `unsafe fn new_bare` constructor.
* fix!: rename `Groupped` to `Grouped` across the codebase魏曹先生2026-07-191-2/+2
|
* style: Reorder imports and reformat code with cargo fmt魏曹先生2026-07-111-1/+1
|
* feat: require renderers to return RenderResult instead of mutating one魏曹先生2026-07-111-3/+3
| | | | | | | 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`.
* docs: improve documentation, mark internal items as `#[doc(hidden)]`魏曹先生2026-06-271-0/+1
| | | | | | | | 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-8/+8
|
* Remove unnecessary module wrapping for MockProgramCollect魏曹先生2026-06-201-91/+87
|
* Add shared `MockProgramCollect` and conditional `Groupped` bounds魏曹先生2026-06-201-0/+105
Extract duplicate `MockCollect` implementations into a reusable `MockProgramCollect` type. Conditionally require `Serialize` on the `Groupped` trait when the `general_renderer` feature is enabled.