-
-
Notifications
You must be signed in to change notification settings - Fork 139
/
Cargo.toml
68 lines (58 loc) · 1.66 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
61
62
63
64
65
66
67
68
[package]
name = "handlebars"
version = "6.2.0"
authors = ["Ning Sun <[email protected]>"]
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 = "2021"
rust-version = "1.72"
[lib]
name = "handlebars"
path = "src/lib.rs"
[[bin]]
name = "handlebars-cli"
path = "src/cli.rs"
[dependencies]
log = { version = "0.4.0" }
thiserror = "2"
pest = "2.1.0"
pest_derive = "2.1.0"
serde = "1.0.0"
serde_json = "1.0.39"
num-order = "1.2.0"
walkdir = { version = "2.2.3", optional = true }
rhai = { version = "1.16.1", optional = true, features = ["sync", "serde"] }
rust-embed = { version = "8.0.0", optional = true, features = ["include-exclude"] }
heck = { version = "0.5", optional = true }
[dev-dependencies]
env_logger = "0.11"
serde_derive = "1.0.75"
tempfile = "3.0.0"
criterion = "0.5"
tiny_http = "0.12"
time = { version = "0.3.7", features = ["serde", "formatting", "parsing"]}
[target.'cfg(unix)'.dev-dependencies]
pprof = { version = "0.14", features = ["flamegraph", "prost-codec"] }
[features]
dir_source = ["walkdir"]
script_helper = ["rhai"]
no_logging = []
default = []
string_helpers = ["heck"]
[badges]
maintenance = { status = "actively-developed" }
[[bench]]
name = "bench"
harness = false
[package.metadata.docs.rs]
features = ["dir_source", "script_helper", "rust-embed"]
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "script"
required-features = ["script_helper"]