aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros
Commit message (Collapse)AuthorAgeFilesLines
* Remove all explicit program name modes from macrosremoved-shit魏曹先生10 days9-591/+176
|
* Support single-segment type paths in group macro魏曹先生10 days1-1/+19
|
* Add `group!` macro for registering external types魏曹先生10 days2-0/+168
|
* Add shared `MockProgramCollect` and conditional `Groupped` bounds魏曹先生10 days2-1/+7
| | | | | | Extract duplicate `MockCollect` implementations into a reusable `MockProgramCollect` type. Conditionally require `Serialize` on the `Groupped` trait when the `general_renderer` feature is enabled.
* Move to_chain and to_render to Groupped trait魏曹先生10 days2-36/+0
|
* Add dispatch_tree integration to dispatcher_clap魏曹先生11 days1-1/+29
|
* Refactor macros `pack_err!` struct fields public魏曹先生11 days1-3/+3
|
* Add `pack_err!` macro for error structs with automatic name field魏曹先生11 days2-0/+213
|
* Update repository URLs to mingling-rs organizationWeicao-CatilGrass2026-06-101-5/+5
|
* Switch to workspace-level documentation buildsWeicao-CatilGrass2026-06-011-13/+13
|
* Change `ProgramSetup::setup` to consume `self` instead of borrow魏曹先生2026-06-011-1/+1
|
* Expand module-level documentationWeicao-CatilGrass2026-05-311-67/+291
|
* Enhance code quality across the entire codebaseWeicao-CatilGrass2026-05-3111-79/+79
|
* Replace license files with symlinks to root魏曹先生2026-05-292-211/+2
|
* Support doc comments and attributes on `pack!` and `dispatcher!` macros魏曹先生2026-05-292-71/+127
|
* Remove PackAttrs parsing and rendering from pack macro魏曹先生2026-05-291-105/+9
|
* Rename error types with consistent naming convention魏曹先生2026-05-292-29/+29
|
* Fix `program_comp_gen!` import issue魏曹先生2026-05-292-11/+116
| | | | | Fixed `program_comp_gen!` import when `comp` and `dispatch_tree` features coexist
* Rename CompletionDispatcher to CMDCompletion and hide internal types魏曹先生2026-05-291-5/+15
|
* Update docs and examples for clap binding with optional error parameter魏曹先生2026-05-291-0/+5
|
* Enable color feature for clap and fix help and error rendering魏曹先生2026-05-291-5/+6
|
* Introduce `Registry` type alias for global static declarations魏曹先生2026-05-291-10/+12
|
* Require explicit import of `crate::Next` in chained functions魏曹先生2026-05-241-1/+7
|
* Gate extra_macros items behind the feature flag魏曹先生2026-05-241-0/+6
|
* Add implicit dispatcher macro with auto-derived names魏曹先生2026-05-242-3/+102
|
* Add extra_macros feature to mingling and mingling_macros魏曹先生2026-05-241-0/+2
|
* Rework examples and add entry macro for testingWeicao-CatilGrass2026-05-232-0/+97
|
* Fix incorrect variable name in help attribute macroWeicao-CatilGrass2026-05-231-2/+2
|
* Refactor resource injection to use inline mut resource wrappingWeicao-CatilGrass2026-05-231-19/+26
|
* Refactor renderer to use injected resources directlyWeicao-CatilGrass2026-05-222-6/+4
|
* Extract resource injection into shared module and add to #[renderer]Weicao-CatilGrass2026-05-224-256/+277
|
* Support custom return types in `#[renderer]` macroWeicao-CatilGrass2026-05-221-16/+34
|
* Rename injected renderer parameter from `r` to `__renderer_inner_result`Weicao-CatilGrass2026-05-225-21/+21
|
* Update `modify_res` to return `Return` and rename internal method魏曹先生2026-05-211-2/+2
|
* Remove `once_cell` dependency and replace with `OnceLock`魏曹先生2026-05-217-42/+56
|
* Add `empty_result!` macro and `REPL` resource, improve examples魏曹先生2026-05-191-1/+46
|
* Add no-return-value mode for `#[chain]` macroWeicao-CatilGrass2026-05-172-40/+112
|
* Rename `NextProcess` to `Next` across the codebaseWeicao-CatilGrass2026-05-172-24/+23
|
* Refactor chain_attr and Suppress clippy::too_many_argumentsWeicao-CatilGrass2026-05-171-185/+287
|
* Remove module-level doc commentsWeicao-CatilGrass2026-05-173-25/+0
|
* Add README files for mingling_core and mingling_macros cratesWeicao-CatilGrass2026-05-171-0/+16
|
* Accept paths for program name parameters in macros魏曹先生2026-05-166-103/+85
| | | | | | | | | | | All proc macros (`pack!`, `dispatcher!`, `#[chain]`, `#[program_setup]`, `#[dispatcher_clap]`, `#[derive(Groupped)]`) now parse program names as `syn::Path` instead of bare `Ident`, allowing use of paths like `crate::MyProgram` or `my_crate::MyProgram`. The default program name `ThisProgram` is no longer re-exported or required as an import — generated code references `crate::ThisProgram` directly.
* Use `default_program_path()` instead of `default_program_ident()`魏曹先生2026-05-167-70/+83
|
* Replace hardcoded `ThisProgram` ident with shared constant魏曹先生2026-05-167-21/+42
|
* Validate single-segment types in attribute macros魏曹先生2026-05-165-2/+71
|
* Document resource injection support in chain macro魏曹先生2026-05-161-4/+105
|
* Require owned type for first parameter and reference for resources魏曹先生2026-05-161-2/+13
|
* Simplify example imports to use prelude and add resources example魏曹先生2026-05-161-4/+16
| | | | | | | | | 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.
* Add mutable resource injection to `#[chain]` macro魏曹先生2026-05-161-18/+47
|
* Add workspace Cargo.toml and centralize crate metadata魏曹先生2026-05-152-70/+9
|