56 releases

✓ Uses Rust 2018 edition

1.0.0-beta.4 Apr 9, 2019
1.0.0-beta.3 Mar 8, 2019
1.0.0-beta.2 Feb 23, 2019
0.11.20 Nov 14, 2018
0.1.2 Jun 5, 2016

#2 in Template engine

Download history 1214/week @ 2018-12-26 1077/week @ 2019-01-02 1062/week @ 2019-01-09 1257/week @ 2019-01-16 1217/week @ 2019-01-23 1239/week @ 2019-01-30 1520/week @ 2019-02-06 1531/week @ 2019-02-13 1285/week @ 2019-02-20 1528/week @ 2019-02-27 1338/week @ 2019-03-06 1395/week @ 2019-03-13 1641/week @ 2019-03-20 1349/week @ 2019-03-27 1280/week @ 2019-04-03

5,789 downloads per month
Used in 52 crates (43 directly)

MIT license

363KB
9K SLoC

Tera

Build Status Build status Crates.io Docs

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>

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 minor versions.

Dependencies

~7.5MB
~135K SLoC