diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-29 03:54:54 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-29 03:54:54 +0800 |
| commit | ca7527681b609fedc368ea973022b004469035e6 (patch) | |
| tree | 47109782fa5a4435889d93a823db3a4e1f5e7bd6 /just_template/Cargo.toml | |
| parent | ba15b7c06468cb6c52c8d2a53419fd83f9ebcb8b (diff) | |
feat(just_template): add proc-macro `tmpl!` and restructure crate
Move the old `tmpl!` and `tmpl_param!` macros into a dedicated
`just_template_macros` proc-macro crate. The new `tmpl!` macro supports
both simple parameter assignment and multi-arm implementation blocks
with per-arm overrides. Remove the deprecated `deprecated` module and
update tests accordingly.
Diffstat (limited to 'just_template/Cargo.toml')
| -rw-r--r-- | just_template/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/just_template/Cargo.toml b/just_template/Cargo.toml index 66217b4..1536e0b 100644 --- a/just_template/Cargo.toml +++ b/just_template/Cargo.toml @@ -10,4 +10,5 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/catilgrass/just_template" [dependencies] +just_template_macros.workspace = true just_fmt = "0.1.2" |
