105 releases (27 stable)
1.19.1 | Sep 3, 2023 |
---|---|
1.19.0 | May 31, 2023 |
1.18.1 | Mar 15, 2023 |
1.17.1 | Sep 19, 2022 |
0.1.2 | Jun 5, 2016 |
#3 in Template engine
353,467 downloads per month
Used in 697 crates
(394 directly)
500KB
12K
SLoC
Tera
Tera is a template engine inspired by Jinja2 and the Django template language.
<title>{% block title %}{% endblock title %}</title>
<ul>
{% for user in users %}
<li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}
</ul>
It does not aim to be 100% compatible with them but has many of the Jinja2/Django filters and testers.
Documentation
API documentation is available on docs.rs.
Tera documentation is available on its site.
SemVer
This project follows SemVer only for the public API, public API here meaning functions appearing in the docs. Some features, like accessing the AST, are also available but breaking changes in them can happen in any versions.
Dependencies
~6–16MB
~176K SLoC