-
-
Notifications
You must be signed in to change notification settings - Fork 78
/
Cargo.toml
52 lines (46 loc) · 1.59 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
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "minijinja"
version = "0.17.0"
edition = "2018"
license = "Apache-2.0"
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
description = "a powerful template engine for Rust with minimal dependencies"
homepage = "https://github.com/mitsuhiko/minijinja"
repository = "https://github.com/mitsuhiko/minijinja"
keywords = ["jinja", "jinja2", "templates"]
readme = "README.md"
rust-version = "1.45"
[package.metadata.docs.rs]
features = ["source", "json", "urlencode"]
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "doc-header.html"]
[features]
default = ["builtins", "sync", "debug", "key_interning", "deserialization"]
sync = []
deserialization = []
key_interning = ["sync"]
preserve_order = ["indexmap"]
debug = ["sync"]
speedups = ["v_htmlescape"]
source = ["self_cell", "memo-map"]
builtins = []
json = ["serde_json"]
urlencode = ["percent-encoding"]
# enables the Debug trait for some internal types
internal_debug = []
# provides access to the unstable machinery
unstable_machinery = ["internal_debug"]
[dependencies]
serde = "1.0.130"
v_htmlescape = { version = "0.15.8", optional = true }
self_cell = { version = "0.10.1", optional = true, features = ["old_rust"] }
serde_json = { version = "1.0.68", optional = true }
percent-encoding = { version = "2.1.0", optional = true }
indexmap = { version = "1.7.0", optional = true }
memo-map = { version = "0.3.1", optional = true }
similar-asserts = "1.4.2"
[dev-dependencies]
insta = { version = "1.19.0", features = ["glob"] }
serde_json = "1.0.68"
[[test]]
name = "test_templates"
required-features = ["unstable_machinery", "internal_debug"]