56 releases

✓ Uses Rust 2018 edition

new 1.0.0-beta.6 May 20, 2019
1.0.0-beta.4 Apr 9, 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 1434/week @ 2019-02-04 1427/week @ 2019-02-11 1362/week @ 2019-02-18 1244/week @ 2019-02-25 1570/week @ 2019-03-04 1383/week @ 2019-03-11 1368/week @ 2019-03-18 1720/week @ 2019-03-25 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

6,012 downloads per month
Used in 59 crates (45 directly)

MIT license

367KB
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
~137K SLoC