-
-
Notifications
You must be signed in to change notification settings - Fork 136
/
Cargo.toml
60 lines (51 loc) · 1.41 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
53
54
55
56
57
58
59
60
[package]
name = "handlebars"
version = "4.0.0-alpha.0"
authors = ["Ning Sun <sunng@pm.me>"]
description = "Handlebars templating implemented in Rust."
license = "MIT"
keywords = ["handlebars", "templating", "web"]
categories = ["template-engine", "web-programming"]
homepage = "https://github.com/sunng87/handlebars-rust"
repository = "https://github.com/sunng87/handlebars-rust"
documentation = "https://docs.rs/crate/handlebars/"
readme = "README.md"
edition = "2018"
[lib]
name = "handlebars"
path = "src/lib.rs"
[[bin]]
name = "handlebars-cli"
path = "src/cli.rs"
[dependencies]
log = { version = "0.4.0" }
quick-error = "2.0"
pest = "2.1.0"
pest_derive = "2.1.0"
serde = "1.0.0"
serde_json = "1.0.39"
walkdir = { version = "2.2.3", optional = true }
rhai = { version = "0.19.6", optional = true, features = ["sync", "serde"] }
[dev-dependencies]
env_logger = "0.8"
maplit = "1.0.0"
serde_derive = "1.0.75"
tempfile = "3.0.0"
criterion = "0.3"
warp = "0.3"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
[target.'cfg(unix)'.dev-dependencies]
pprof = { version = "0.3.13", features = ["flamegraph", "protobuf"] }
[features]
dir_source = ["walkdir"]
script_helper = ["rhai"]
no_logging = []
default = []
[badges]
maintenance = { status = "actively-developed" }
[[bench]]
name = "bench"
harness = false
[package.metadata.docs.rs]
features = ["dir_source", "script_helper"]
rustdoc-args = ["--cfg", "docsrs"]