Just released the 0.15 version of the Rust askama crate (which handles jinja templates at compile-time).

The full changelog is here: github.com/askama-rs/askama/re

It comes with a crazy amount of new stuff, like support for templating on enum variants, or the beginning or better compilation errors (in some cases it actually shows you in the template where the bug is!).

We also extended what Rust expressions you can use in the templates and made a lot of performance improvements (to reduce compile-time).

Enjoy!

crates.io/crates/askama

0

If you have a fediverse account, you can quote this note from your own instance. Search https://toot.cat/users/imperio/statuses/115763821009908235 on your instance and quote it. (Note that quoting is not supported in Mastodon.)