aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore: add package metadata and symlinks for publishingHEAD0.2.0master魏曹先生17 hours10-4/+132
| | | | | | Centralize package metadata in the workspace `Cargo.toml` and inherit it in sub-crates. Add license symlinks and README symlinks to the workspace root. Set `documentation` URLs for library crates.
* docs: rewrite README to document display blocks and new `tmpl!` macro魏曹先生17 hours3-121/+256
| | | | syntax
* docs: add comprehensive module-level documentation魏曹先生17 hours3-19/+165
|
* feat: add proc-macro based `tmpl!` and display block template syntax魏曹先生17 hours1-3/+34
| | | | | | | | | | | This introduces a workspace restructuring with separate library and proc-macro crates, replacing the old declarative macros with a new proc macro that supports simplified call syntax, implicit template variable names, and mixed simple parameters with implementation blocks. Display blocks (`??? >>> name` / `??? <<<`) provide conditionally included sections with per-arm control, enabled by inserting a param key. The old `macro_rules!` macros, deprecated module, and standalone test files are removed in favor of comprehensive inline tests.
* feat(just_template): add proc-macro `tmpl!` and restructure crate魏曹先生17 hours10-98/+491
| | | | | | | | 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.
* refactor: promote project to workspace with macros sub-crate魏曹先生18 hours8-11/+22
|
* feat: add display block support and refactor tests魏曹先生18 hours7-115/+300
| | | | | | | Deprecate old macros in favor of new deprecated module, replace the external file-based test with inline unit tests, and introduce the `??? >>>` / `??? <<<` display block syntax for conditional content inclusion per arm or globally.
* feat: add CHANGELOG and simplify tmpl! macro syntax魏曹先生18 hours3-8/+80
| | | | | | Introduce a CHANGELOG.md file and update the `tmpl!` macro to use a cleaner syntax with comma-separated key-value pairs instead of the `+=` operator and parentheses-wrapped parameters
* feat: bump just_template to 0.2.0魏曹先生18 hours2-2/+2
|
* Bump version to 0.1.30.1.3魏曹先生2026-03-023-4/+6
| | | | Fix empty impl block generating unnecessary newlines
* Bump version to 0.1.2 and add From impls for &str and Cow<str>0.1.2魏曹先生2026-03-023-2/+20
|
* Bump version to 0.1.10.1.1魏曹先生2026-02-282-2/+2
|
* Refactor crate structure and move macros to lib.rs魏曹先生2026-02-284-35/+85
|
* Rename src/lib.rs to src/template.rs魏曹先生2026-02-281-0/+0
|
* Update README examples to use tmpl! macro syntax魏曹先生2026-02-282-4/+12
|
* Add installation instructions to README files0.1.0魏曹先生2026-02-272-0/+18
|
* Initialize project with Cargo.toml and basic structure魏曹先生2026-02-2712-0/+686