aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/attr.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(mingling_macros, mingling_pathf): add `#[command]` attribute macro魏曹先生33 hours1-0/+2
| | | | | | | | | | | | | Add a new `#[command]` attribute macro (feature-gated behind `extra_macros`) that converts a plain function with a `Vec<String>` parameter into a fully wired Mingling command. The macro generates a `dispatcher!` call, a `#[chain]` wrapper, and a hidden module re-exporting all generated types. Also add `CommandPattern` to the pathf pattern analyzer to recognize `#[command]`-annotated functions and track their generated hidden modules.
* feat(macros): split monolith into one-macro-per-file modules魏曹先生3 days1-0/+1
|
* chore(macros): reorganize module hierarchy in mingling_macros魏曹先生10 days1-0/+9
Restructure flat module layout into logical directories (attr/, derive/, func/, systems/, extensions/, utils.rs). Tighten internal function visibility to pub(crate). All public API signatures remain unchanged.