tera 1.19.1

Template engine based on Jinja2/Django templates


Actions Status Crates.io Docs Gitter

Tera is a template engine inspired by Jinja2 and the Django template language.

<title>{% block title %}{% endblock title %}</title>
{% for user in users %}
  <li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}

It does not aim to be 100% compatible with them but has many of the Jinja2/Django filters and testers.


API documentation is available on docs.rs.

Tera documentation is available on its site.


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.