askama/testing/Cargo.toml

39 lines
1003 B
TOML

[package]
name = "askama_testing"
version = "0.0.0"
authors = ["askama-rs developers"]
edition = "2024"
rust-version = "1.88"
publish = false
[[bench]]
name = "all"
harness = false
[dependencies]
askama = { path = "../askama" }
serde_json = { version = "1.0", optional = true }
# intentionally shadow the name `::core` to test if the generated code still works fine
core = { package = "intentionally-empty", version = "1.0.0" }
[dev-dependencies]
askama = { path = "../askama", features = ["code-in-doc", "serde_json"] }
askama_parser = { path = "../askama_parser" }
assert_matches = "1.5.0"
criterion = "0.8"
pulldown-cmark = "0.13"
trybuild = "1.0.100"
[features]
default = ["code-in-doc", "serde_json"]
code-in-doc = ["askama/code-in-doc"]
nightly-spans = ["askama/nightly-spans"]
serde_json = ["dep:serde_json", "askama/serde_json"]
[lints.rust]
# Set in `build.rs` if we are compiling in stable rust, used by `ui.rs`
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(RUN_UI_TESTS)'] }