74 releases ()

✓ Uses Rust 2018 edition

new 1.0.0-beta.13 Jul 15, 2019
1.0.0-beta.10 Jun 16, 2019
1.0.0-beta.3 Mar 8, 2019
0.11.20 Nov 14, 2018
0.1.2 Jun 5, 2016

#2 in Template engine

Download history 1243/week @ 2019-04-01 1490/week @ 2019-04-08 1405/week @ 2019-04-15 1540/week @ 2019-04-22 1329/week @ 2019-04-29 1180/week @ 2019-05-06 1458/week @ 2019-05-13 1589/week @ 2019-05-20 1601/week @ 2019-05-27 1698/week @ 2019-06-03 1826/week @ 2019-06-10 3171/week @ 2019-06-17 3403/week @ 2019-06-24 3067/week @ 2019-07-01 2569/week @ 2019-07-08

8,510 downloads per month
Used in 63 crates (49 directly)

MIT license

389KB
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

~7MB
~136K SLoC