36 releases

0.15.1 Sep 7, 2022
0.15.0 Feb 23, 2021
0.14.1 Jan 7, 2021
0.14.0 Dec 21, 2020
0.7.0 Feb 21, 2020

#22 in #conditional

Download history 151/week @ 2024-03-30 120/week @ 2024-04-06 96/week @ 2024-04-13 82/week @ 2024-04-20 114/week @ 2024-04-27 84/week @ 2024-05-04 69/week @ 2024-05-11 84/week @ 2024-05-18 79/week @ 2024-05-25 88/week @ 2024-06-01 76/week @ 2024-06-08 82/week @ 2024-06-15 79/week @ 2024-06-22 51/week @ 2024-06-29 68/week @ 2024-07-06 85/week @ 2024-07-13

291 downloads per month
Used in 3 crates (via yarte_codegen)


10K SLoC

Yet Another Rust Template Engine

Yarte Latest version Netlify Status

Yarte stands for Yet Another Rusty Template Engine. Uses a Handlebars-like syntax, well-known and intuitive for most developers. Yarte is an optimized, and easy-to-use rust crate, with which developers can create logic around their HTML templates using conditionals, loops, rust code and template composition.


In order to fully understand Yarte's capabilities take a look at the following documentation:

Or, in nightly, just:

#[html] "{{> my_template }}"

bytes-buf feature can produce SIGILL. More details in https://github.com/botika/v_escape/issues/54.

Yarte is under development.

Is it really fast?

See it for yourself in the TechEmpower benchmarks with actix and ntex


Yarte is based on all previous templates engines, syntax as well as its documentation is highly influenced by Handlebars. Logo adapted from Creative Commons images

Code of conduct

This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at http://contributor-covenant.org/version/1/4


This project is distributed under the terms of both the Apache License (Version 2.0) and the MIT license, specified in LICENSE-APACHE and LICENSE-MIT respectively.


Spain is not a democracy, with your tourism or your purchases you are subsidizing this barbarism.

All structures and functions in this crate -- even those based on the real crates -- are entirely fictional. All celebrity codes are impersonated...poorly. The following program contains coarse language and due to its content it should not be used by anyone.


~128K SLoC