Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump askama_derive version to 0.12.4 | Dirkjan Ochtman | 2023-12-18 | 1 | -1/+1 |
| | |||||
* | Make API more idiomatic | Dirkjan Ochtman | 2023-12-18 | 2 | -4/+4 |
| | |||||
* | Unbreak reading config from default location | Dirkjan Ochtman | 2023-12-18 | 2 | -6/+8 |
| | | | | | | I broke this in 2a4d58cbb2033114890415c98a61e730185d1f83 due to refactoring for better internal abstractions in askama_derive. We also don't currently have any tests for the default config path. | ||||
* | Prepare askama_derive and _parser releases | Dirkjan Ochtman | 2023-12-18 | 2 | -3/+3 |
| | |||||
* | Add automatic borrowing to let statement | max | 2023-12-13 | 2 | -0/+21 |
| | | | | Signed-off-by: max <gmx.sht@gmail.com> | ||||
* | Bugfix in `is_attr_self()` | max | 2023-12-13 | 2 | -1/+20 |
| | | | | Signed-off-by: max <gmx.sht@gmail.com> | ||||
* | Allow trailing comma in macro definition and call | Guillaume Gomez | 2023-12-07 | 3 | -2/+32 |
| | |||||
* | Undo an accidental deletion of `#[derive(Debug)]` | max | 2023-12-07 | 1 | -0/+1 |
| | | | | Signed-off-by: max <gmx.sht@gmail.com> | ||||
* | Added testing for reserved variable names | max | 2023-12-07 | 2 | -5/+20 |
| | | | | Signed-off-by: max <gmx.sht@gmail.com> | ||||
* | Add macro test with only argument being passed as named | Guillaume Gomez | 2023-12-07 | 1 | -0/+17 |
| | |||||
* | build(deps): update comrak requirement from 0.18 to 0.20 | dependabot[bot] | 2023-11-30 | 2 | -2/+2 |
| | | | | | | | | | | | | | | Updates the requirements on [comrak](https://github.com/kivikakk/comrak) to permit the latest version. - [Release notes](https://github.com/kivikakk/comrak/releases) - [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt) - [Commits](https://github.com/kivikakk/comrak/compare/0.18.0...0.20.0) --- updated-dependencies: - dependency-name: comrak dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
* | Upgrade to comrak 0.19 | Dirkjan Ochtman | 2023-11-30 | 4 | -51/+19 |
| | |||||
* | Add documentation for macro named arguments | Guillaume Gomez | 2023-11-28 | 1 | -3/+48 |
| | |||||
* | Add tests for named arguments in macro calls | Guillaume Gomez | 2023-11-28 | 3 | -0/+117 |
| | |||||
* | Allow to pass named arguments to macro calls | Guillaume Gomez | 2023-11-28 | 3 | -7/+130 |
| | |||||
* | askama_axum: update axum to 0.7 (#918) | lictex_ | 2023-11-27 | 2 | -6/+8 |
| | |||||
* | askama_rocket: Rocket v0.5.0 | Philippe Loctaux | 2023-11-27 | 1 | -1/+1 |
| | |||||
* | Add better support for rust-like number literals (#908) | PizzasBear | 2023-11-22 | 3 | -5/+99 |
| | | | Signed-off-by: max <gmx.sht@gmail.com> | ||||
* | Enhance match to include multiple targets (#911) | PizzasBear | 2023-11-22 | 4 | -0/+60 |
| | | | Signed-off-by: max <gmx.sht@gmail.com> | ||||
* | Add UI tests for macros error message | Guillaume Gomez | 2023-11-20 | 2 | -0/+50 |
| | |||||
* | Improve macro call arguments loop | Guillaume Gomez | 2023-11-20 | 1 | -4/+1 |
| | |||||
* | Improve output error for non-matching number of arguments for macros | Guillaume Gomez | 2023-11-20 | 1 | -1/+8 |
| | |||||
* | Derive Clone for Expr and Target | Andrew Dona-Couch | 2023-11-13 | 2 | -2/+2 |
| | |||||
* | add support for svg file extension | Marvin Jütte | 2023-11-09 | 2 | -3/+9 |
| | |||||
* | Add missing link to template expansion | Guillaume Gomez | 2023-11-07 | 1 | -0/+1 |
| | |||||
* | Add new chapter in the askama book about template expansion | Guillaume Gomez | 2023-11-07 | 1 | -0/+485 |
| | |||||
* | document function syntax in templates | Thomas Threadgold | 2023-11-07 | 1 | -0/+116 |
| | |||||
* | Remove unused `_did_loop` condition if `else` block is empty | Guillaume Gomez | 2023-11-01 | 1 | -9/+21 |
| | |||||
* | Avoid passing around duplicate data | Dirkjan Ochtman | 2023-11-01 | 2 | -21/+4 |
| | |||||
* | Build Config from TemplateArgs | Dirkjan Ochtman | 2023-11-01 | 2 | -9/+12 |
| | |||||
* | Reorganize TemplateArgs and TemplateInput structure | Dirkjan Ochtman | 2023-11-01 | 2 | -25/+24 |
| | |||||
* | Inline some logic into find_used_templates() | Dirkjan Ochtman | 2023-11-01 | 2 | -8/+8 |
| | |||||
* | Cleanup imports a bit | Dirkjan Ochtman | 2023-11-01 | 3 | -6/+4 |
| | |||||
* | Implement Default for MapChain | Dirkjan Ochtman | 2023-11-01 | 2 | -8/+10 |
| | |||||
* | Move build_template() up to the crate root | Dirkjan Ochtman | 2023-11-01 | 2 | -63/+67 |
| | |||||
* | Remove unnecessary type annotation | Dirkjan Ochtman | 2023-11-01 | 1 | -1/+1 |
| | |||||
* | Attach find_used_templates() to TemplateInput | Dirkjan Ochtman | 2023-11-01 | 2 | -44/+45 |
| | |||||
* | Move TemplateArgs into input module | Dirkjan Ochtman | 2023-11-01 | 2 | -134/+134 |
| | |||||
* | Inline nested derive_template() implementation | Dirkjan Ochtman | 2023-11-01 | 2 | -12/+6 |
| | |||||
* | Improve the macros section | Mo | 2023-10-30 | 1 | -5/+4 |
| | |||||
* | build(deps): update futures-lite requirement from 1.12.0 to 2.0.0 | dependabot[bot] | 2023-10-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Updates the requirements on [futures-lite](https://github.com/smol-rs/futures-lite) to permit the latest version. - [Release notes](https://github.com/smol-rs/futures-lite/releases) - [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/futures-lite/compare/v1.12.0...v2.0.0) --- updated-dependencies: - dependency-name: futures-lite dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
* | Create a type alias for all `IResult` to simplify code reading | Guillaume Gomez | 2023-10-25 | 3 | -108/+90 |
| | |||||
* | Add UI test for `elif` error message | Guillaume Gomez | 2023-10-25 | 2 | -0/+17 |
| | |||||
* | Improve error for `elif` keyword | Guillaume Gomez | 2023-10-25 | 1 | -1/+9 |
| | |||||
* | Improve error for invalid name used in `endmacro` | Guillaume Gomez | 2023-10-25 | 2 | -2/+9 |
| | |||||
* | Improve error for invalid name used in `endblock` | Guillaume Gomez | 2023-10-25 | 3 | -3/+32 |
| | |||||
* | Create `ErrorContext` type | Guillaume Gomez | 2023-10-25 | 3 | -95/+183 |
| | |||||
* | Extend documentation about using block/macro name when "ending" it | Guillaume Gomez | 2023-10-23 | 1 | -0/+14 |
| | |||||
* | Add test specifically for named blocks, and named macros | Guillaume Gomez | 2023-10-23 | 6 | -0/+53 |
| | |||||
* | Add test for macro self argument | max | 2023-10-12 | 2 | -0/+17 |
| | | | | Signed-off-by: max <gmx.sht@gmail.com> |