16
Anyone have suggestions for a good Rust template engine?
(programming.dev)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Can't beat askama. There are other Jinja-like templates but askama has best-in-class performance and compile time safety.
When you say "best in class performance", do you have particular benchmarks in mind?
I only found this one: https://github.com/rosetta-rs/template-benchmarks-rs
Askama was neither fastest not slowest. Purely based on benchmarks sailfish seems to be interesting as well