aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/chain.rs
Commit message (Collapse)AuthorAgeFilesLines
* Enhance code quality across the entire codebaseWeicao-CatilGrass2 days1-4/+4
|
* Rename error types with consistent naming convention魏曹先生4 days1-4/+4
|
* Require explicit import of `crate::Next` in chained functions魏曹先生9 days1-1/+7
|
* Extract resource injection into shared module and add to #[renderer]Weicao-CatilGrass11 days1-194/+5
|
* Update `modify_res` to return `Return` and rename internal method魏曹先生12 days1-2/+2
|
* Remove `once_cell` dependency and replace with `OnceLock`魏曹先生12 days1-2/+2
|
* Add no-return-value mode for `#[chain]` macroWeicao-CatilGrass2026-05-171-39/+102
|
* Rename `NextProcess` to `Next` across the codebaseWeicao-CatilGrass2026-05-171-9/+8
|
* Refactor chain_attr and Suppress clippy::too_many_argumentsWeicao-CatilGrass2026-05-171-185/+287
|
* Accept paths for program name parameters in macros魏曹先生2026-05-161-8/+4
| | | | | | | | | | | 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-161-4/+2
|
* Replace hardcoded `ThisProgram` ident with shared constant魏曹先生2026-05-161-3/+7
|
* Validate single-segment types in attribute macros魏曹先生2026-05-161-1/+13
|
* 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 support for resource injection in `#[chain]` macro魏曹先生2026-05-071-32/+155
|
* Apply clippy suggestions in chain related filesWeicao-CatilGrass2026-05-041-1/+1
|
* Enforce `NextProcess` return type in chain functions and update examples魏曹先生2026-05-021-1/+37
|
* Add architecture overview and doc comments to macro crate魏曹先生2026-05-021-8/+0
|
* se internal ugly naming convention for generated structs魏曹先生2026-04-281-3/+8
|
* Remove `marker::NextProcess` and generate it via `gen_program!`Weicao-CatilGrass2026-04-271-59/+17
|
* Move type registration to pack! and Groupped macros魏曹先生2026-04-201-4/+1
|
* Remove unnecessary `.into()` calls in chain functions魏曹先生2026-04-191-6/+6
|
* Support both async and sync functions with async feature enabled魏曹先生2026-04-191-24/+38
|
* Make async an optional feature魏曹先生2026-04-191-30/+72
|
* Extract chain and renderer registration into separate macros魏曹先生2026-04-181-15/+54
|
* Remove unnecessary string conversions in macro type registration魏曹先生2026-04-151-4/+2
|
* Add register_type macro and use it in chain and renderer macros魏曹先生2026-04-151-3/+4
|
* Add #[doc(hidden)] to macro-generated structs魏曹先生2026-04-151-0/+1
|
* Add completion system with shell context and dispatcher integration魏曹先生2026-04-101-16/+17
|
* Rename DefaultProgram to ThisProgram and remove ThisProgram marker魏曹先生2026-04-091-5/+5
|
* Add general renderer support with serialization formats魏曹先生2026-04-051-5/+5
|
* Replace typeid-based dispatch with enum-based dispatch魏曹先生2026-04-011-18/+79
| | | | | | | | | - Add `Groupped` trait and `member_id` to `AnyOutput` - Add generic parameter `G` to `Dispatcher`, `Chain`, `Program` etc - Remove `hint` module and its marker types - Update macros to support explicit group specification - Add `gen_program` macro for generating enum-based programs - Add `GroupProcess` marker type for type-level grouping
* Remove documentation from macro definitions魏曹先生2026-03-311-0/+4
|
* Add README and license files to project structure魏曹先生2026-03-291-1/+1
|
* Add fallback dispatcher for missing renderers.魏曹先生2026-03-291-3/+11
|
* Generate struct names from function names in chain and renderer macros魏曹先生2026-03-291-18/+5
|
* Completed the first preliminary usable version of the Mingling魏曹先生2026-03-291-26/+10
| | | | framework.
* Add initial Mingling framework codebase魏曹先生2026-03-281-0/+164