From ca7527681b609fedc368ea973022b004469035e6 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 29 Jun 2026 03:54:54 +0800 Subject: 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. --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 157065c..b0aed88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "3" members = [ "just_template", "just_template_macros", @@ -9,3 +10,7 @@ version = "0.2.0" description = "A tool for code gen via templatese" authors = ["Weicao-CatilGrass "] edition = "2024" + +[workspace.dependencies] +just_template = { path = "just_template" } +just_template_macros = { path = "just_template_macros" } -- cgit