56 releases

✓ Uses Rust 2018 edition

new 1.0.0-beta.1 Feb 15, 2019
1.0.0-alpha.4 Jan 25, 2019
0.11.20 Nov 14, 2018
0.11.9 Jul 16, 2018
0.1.2 Jun 5, 2016

#4 in Template engine

Download history 1938/week @ 2018-11-03 1771/week @ 2018-11-10 1848/week @ 2018-11-17 1743/week @ 2018-11-24 1615/week @ 2018-12-01 1667/week @ 2018-12-08 1239/week @ 2018-12-15 1839/week @ 2018-12-22 1138/week @ 2018-12-29 1102/week @ 2019-01-05 1029/week @ 2019-01-12 1399/week @ 2019-01-19 1290/week @ 2019-01-26 1125/week @ 2019-02-02 1638/week @ 2019-02-09

6,092 downloads per month
Used in 50 crates (41 directly)

MIT license

360KB
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
~133K SLoC