Files
2026-08-01 16:11:49 +03:00

126 lines
2.3 KiB
TOML

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
rust-version = "1.85"
name = "tera"
version = "1.20.1"
authors = ["Vincent Prouillet <hello@prouilletvincent.com>"]
build = false
include = [
"/src/**/*",
"/LICENSE",
"/README.md",
"/CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Template engine based on Jinja2/Django templates"
homepage = "https://keats.github.io/tera/"
readme = "README.md"
keywords = [
"template",
"html",
"django",
"markup",
"jinja2",
]
categories = ["template-engine"]
license = "MIT"
repository = "https://github.com/Keats/tera"
[features]
builtins = [
"urlencode",
"slug",
"humansize",
"chrono",
"chrono-tz",
"rand",
]
date-locale = [
"builtins",
"chrono/unstable-locales",
]
default = ["builtins"]
preserve_order = ["serde_json/preserve_order"]
urlencode = ["percent-encoding"]
[lib]
name = "tera"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.4.27"
features = [
"std",
"clock",
]
optional = true
default-features = false
[dependencies.chrono-tz]
version = "0.9"
optional = true
[dependencies.globwalk]
version = "0.9.1"
[dependencies.humansize]
version = "2.1"
optional = true
[dependencies.lazy_static]
version = "1.4"
[dependencies.percent-encoding]
version = "2.2"
optional = true
[dependencies.pest]
version = "2.5.5"
[dependencies.pest_derive]
version = "2.5.5"
[dependencies.rand]
version = "0.8"
optional = true
[dependencies.regex]
version = "1.7"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.slug]
version = "0.1"
optional = true
[dependencies.unicode-segmentation]
version = "1.12"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.serde_derive]
version = "1.0"
[dev-dependencies.tempfile]
version = "3"