[package]
name = "tera"
version = "1.20.0"
authors = ["Vincent Prouillet <hello@prouilletvincent.com>"]
license = "MIT"
readme = "README.md"
description = "Template engine based on Jinja2/Django templates"
homepage = "https://keats.github.io/tera/"
repository = "https://github.com/Keats/tera"
keywords = ["template", "html", "django", "markup", "jinja2"]
categories = ["template-engine"]
edition = "2018"
include = ["/src/**/*", "/LICENSE", "/README.md", "/CHANGELOG.md"]
rust-version = "1.70"
[dependencies]
globwalk = "0.9.1"
serde = "1.0"
serde_json = "1.0"
pest = "2.5.5"
pest_derive = "2.5.5"
lazy_static = "1.4"
regex = "1.7"
unic-segment = "0.9"
slug = {version = "0.1", optional = true}
percent-encoding = {version = "2.2", optional = true}
humansize = {version = "2.1", optional = true}
chrono = {version = "0.4.27", optional = true, default-features = false, features = ["std", "clock"]}
chrono-tz = {version = "0.9", optional = true}
rand = {version = "0.8", optional = true}
[dev-dependencies]
serde_derive = "1.0"
pretty_assertions = "1"
tempfile = "3"
[features]
default = ["builtins"]
builtins = ["urlencode", "slug", "humansize", "chrono", "chrono-tz", "rand"]
urlencode = ["percent-encoding"]
preserve_order = ["serde_json/preserve_order"]
date-locale = ["builtins", "chrono/unstable-locales"]