[package]
edition = "2024"
rust-version = "1.85.1"
name = "oxiplate"
version = "0.16.3"
authors = ["Brandon Frohs <brandon@19.codes>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile-time template engine with a focus on escaping, helpful error messages, and whitespace control."
homepage = "https://0b10011.io/oxiplate"
readme = "README.md"
keywords = [
"escaping",
"whitespace-control",
"compile-time",
]
categories = ["template-engine"]
license = "MIT"
repository = "https://github.com/0b10011/oxiplate"
resolver = "2"
[features]
better-errors = [
"better-internal-errors",
"external-template-spans",
]
better-internal-errors = ["oxiplate-derive/better-internal-errors"]
built-in-escapers = ["oxiplate-derive/built-in-escapers"]
config = ["oxiplate-derive/config"]
debug-fast-escape-type-priority = ["oxiplate-traits/debug-fast-escape-type-priority"]
default = [
"built-in-escapers",
"config",
"fast-escape-ints",
]
external-template-spans = ["oxiplate-derive/external-template-spans"]
fast-escape-ints = ["oxiplate-traits/fast-escape-ints"]
unreachable = ["oxiplate-derive/unreachable"]
[lib]
name = "oxiplate"
path = "src/lib.rs"
[[test]]
name = "broken"
path = "tests/broken.rs"
[[test]]
name = "comment-escaping"
path = "tests/comment-escaping.rs"
[[test]]
name = "default"
path = "tests/default.rs"
[[test]]
name = "different-extensions"
path = "tests/different-extensions.rs"
[[test]]
name = "escaping"
path = "tests/escaping.rs"
[[test]]
name = "expansion"
path = "tests/expansion.rs"
[[test]]
name = "extends"
path = "tests/extends.rs"
[[test]]
name = "filters"
path = "tests/filters.rs"
[[test]]
name = "include"
path = "tests/include.rs"
[[test]]
name = "markdown-text"
path = "tests/markdown-text.rs"
[[test]]
name = "replace-escaper"
path = "tests/replace-escaper.rs"
[[test]]
name = "text"
path = "tests/text.rs"
[dependencies.oxiplate-derive]
version = "0.16.3"
features = ["oxiplate"]
default-features = false
[dependencies.oxiplate-traits]
version = "0.1"
features = []
default-features = false
[dev-dependencies.rustversion]
version = "1.0.19"
[dev-dependencies.trybuild]
version = "1.0.115"
[lints.clippy]
manual_assert = "allow"
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.double_must_use]
level = "allow"
priority = 0
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage,coverage_nightly)"]