tera

A template engine for Rust based on Jinja2/Django

Github星跟踪图

Tera

Actions 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>

It does not aim to be 100% compatible with them but has many of the Jinja2/Django filters and testers.

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

主要指标

概览
名称与所有者Keats/tera
主编程语言Rust
编程语言Rust (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2015-07-17 19:40:53
推送于2025-03-18 21:54:13
最后一次提交2025-03-18 21:53:51
发布数37
最新版本名称v1.20.0 (发布于 )
第一版名称v0.2.0 (发布于 )
用户参与
星数3.9k
关注者数27
派生数309
提交数1k
已启用问题?
问题数582
打开的问题数166
拉请求数285
打开的拉请求数21
关闭的拉请求数76
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?