mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 21:41:35 +00:00

This way, even a shadowed `core` or `std` does not prevent the generated code from working correctly.
37 lines
862 B
TOML
37 lines
862 B
TOML
[package]
|
|
name = "rinja_testing"
|
|
version = "0.3.4"
|
|
authors = ["rinja-rs developers"]
|
|
workspace = ".."
|
|
edition = "2021"
|
|
rust-version = "1.71"
|
|
publish = false
|
|
|
|
[features]
|
|
default = ["code-in-doc", "serde_json"]
|
|
code-in-doc = ["rinja/code-in-doc"]
|
|
serde_json = ["dep:serde_json", "rinja/serde_json"]
|
|
|
|
[dependencies]
|
|
rinja = { path = "../rinja", version = "0.3.4" }
|
|
|
|
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]
|
|
rinja = { path = "../rinja", version = "0.3.4", features = ["code-in-doc", "serde_json"] }
|
|
|
|
criterion = "0.5"
|
|
phf = { version = "0.11", features = ["macros" ] }
|
|
trybuild = "1.0.76"
|
|
|
|
[[bench]]
|
|
name = "all"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "normalize_identifier"
|
|
harness = false
|