131 lines
2.6 KiB
TOML
131 lines
2.6 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 = "2021"
|
|
rust-version = "1.81"
|
|
name = "askama"
|
|
version = "0.13.1"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Type-safe, compiled Jinja-like templates for Rust"
|
|
homepage = "https://askama.readthedocs.io/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"markup",
|
|
"template",
|
|
"jinja2",
|
|
"html",
|
|
]
|
|
categories = ["template-engine"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/askama-rs/askama"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["full"]
|
|
rustdoc-args = [
|
|
"--generate-link-to-definition",
|
|
"--cfg=docsrs",
|
|
]
|
|
|
|
[badges.maintenance]
|
|
status = "actively-developed"
|
|
|
|
[features]
|
|
alloc = [
|
|
"askama_derive?/alloc",
|
|
"serde?/alloc",
|
|
"serde_json?/alloc",
|
|
"percent-encoding?/alloc",
|
|
]
|
|
blocks = ["askama_derive?/blocks"]
|
|
code-in-doc = ["askama_derive?/code-in-doc"]
|
|
config = ["askama_derive?/config"]
|
|
default = [
|
|
"config",
|
|
"derive",
|
|
"std",
|
|
"urlencode",
|
|
"askama_derive?/default",
|
|
]
|
|
derive = ["askama_derive"]
|
|
full = [
|
|
"default",
|
|
"blocks",
|
|
"code-in-doc",
|
|
"serde_json",
|
|
"askama_derive?/full",
|
|
]
|
|
serde_json = [
|
|
"std",
|
|
"askama_derive?/serde_json",
|
|
"dep:serde",
|
|
"dep:serde_json",
|
|
]
|
|
std = [
|
|
"alloc",
|
|
"askama_derive?/std",
|
|
"serde?/std",
|
|
"serde_json?/std",
|
|
"percent-encoding?/std",
|
|
]
|
|
urlencode = [
|
|
"askama_derive?/urlencode",
|
|
"dep:percent-encoding",
|
|
]
|
|
|
|
[lib]
|
|
name = "askama"
|
|
path = "src/lib.rs"
|
|
|
|
[[bench]]
|
|
name = "escape"
|
|
path = "benches/escape.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "to-json"
|
|
path = "benches/to-json.rs"
|
|
harness = false
|
|
required-features = ["serde_json"]
|
|
|
|
[dependencies.askama_derive]
|
|
version = "=0.13.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.itoa]
|
|
version = "1.0.11"
|
|
|
|
[dependencies.percent-encoding]
|
|
version = "2.1.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.assert_matches]
|
|
version = "1.5.0"
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5"
|