forked from askama-rs/askama
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (31 loc) · 1.01 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "rinja_testing"
version = "0.3.5"
authors = ["rinja-rs developers"]
edition = "2021"
rust-version = "1.81"
publish = false
[[bench]]
name = "all"
harness = false
[[bench]]
name = "normalize_identifier"
harness = false
[dependencies]
rinja = { path = "../rinja", version = "0.3.5" }
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.5", features = ["code-in-doc", "serde_json"] }
assert_matches = "1.5.0"
criterion = "0.5"
phf = { version = "0.11", features = ["macros" ] }
trybuild = "1.0.100"
[features]
default = ["code-in-doc", "serde_json"]
code-in-doc = ["rinja/code-in-doc"]
serde_json = ["dep:serde_json", "rinja/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)'] }