tera 2.0.0-alpha.1

A template engine for Rust based on Jinja2/Django
Documentation
# 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 = "2024"
name = "tera"
version = "2.0.0-alpha.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A template engine for Rust based on Jinja2/Django"
documentation = "https://docs.rs/tera"
readme = "README.md"
keywords = [
    "template",
    "html",
    "django",
    "markup",
    "jinja2",
]
categories = ["template-engine"]
license = "MIT"
repository = "https://github.com/Keats/tera2"
resolver = "2"

[features]
default = []
fast = [
    "no_fmt",
    "fast_escape",
    "fast_hash",
]
fast_escape = ["dep:pulldown-cmark-escape"]
fast_hash = [
    "dep:ahash",
    "ahash?/serde",
]
glob_fs = [
    "dep:walkdir",
    "dep:globset",
]
no_fmt = ["dep:itoa"]
preserve_order = ["dep:indexmap"]
unicode = ["dep:unicode-segmentation"]

[lib]
name = "tera"
path = "src/lib.rs"
doctest = false

[[example]]
name = "basic"
path = "examples/basic/main.rs"

[[example]]
name = "big_table"
path = "examples/big_table.rs"

[[example]]
name = "dashboard"
path = "examples/dashboard.rs"

[[example]]
name = "teams"
path = "examples/teams.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "undefined"
path = "tests/undefined.rs"

[[bench]]
name = "escape"
path = "benches/escape.rs"
harness = false

[[bench]]
name = "templates"
path = "benches/templates.rs"
harness = false

[[bench]]
name = "value"
path = "benches/value.rs"
harness = false

[dependencies.ahash]
version = "0.8.12"
optional = true

[dependencies.globset]
version = "0.4.18"
optional = true

[dependencies.indexmap]
version = "2.13.0"
optional = true

[dependencies.itoa]
version = "1.0.17"
optional = true

[dependencies.pulldown-cmark-escape]
version = "0.11.0"
optional = true

[dependencies.serde]
version = "1"

[dependencies.unicode-segmentation]
version = "1.12"
optional = true

[dependencies.walkdir]
version = "2.5.0"
optional = true

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.insta]
version = "1"
features = ["glob"]

[dev-dependencies.serde_derive]
version = "1.0.156"

[dev-dependencies.tempfile]
version = "3"