72 releases ()

✓ Uses Rust 2018 edition

new 1.0.0-beta.15 Sep 16, 2019
1.0.0-beta.13 Jul 15, 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 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 2237/week @ 2019-07-15 3123/week @ 2019-07-22 3176/week @ 2019-07-29 3672/week @ 2019-08-05 3943/week @ 2019-08-12 2838/week @ 2019-08-19 3513/week @ 2019-08-26 3698/week @ 2019-09-02 3242/week @ 2019-09-09

13,649 downloads per month
Used in 69 crates (54 directly)

MIT license

415KB
10K 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
~148K SLoC