forked from davidB/handlebars_misc_helpers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
52 lines (49 loc) · 1.67 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 = "handlebars_misc_helpers"
version = "0.12.2-dev"
authors = ["David Bernard"]
edition = "2018"
description = "A collection of helpers for handlebars (rust) to manage string, json, yaml, toml, path, file, http request."
readme = "README.md"
license = "CC0-1.0"
keywords = ["handlebars"]
#see https://crates.io/category_slugs
categories = ["template-engine", "value-formatting"]
repository = "https://github.com/davidB/handlebars_misc_helpers"
homepage = "https://github.com/davidB/handlebars_misc_helpers"
exclude = [
"/.github",
"/.dependabot",
"/docs/**",
"/scripts",
".gitignore",
"/tests/**",
]
[dependencies]
handlebars = "^4.0"
log = "^0.4"
attohttpc = { version = "^0.17", optional = true }
Inflector = { version = "^0.11", optional = true }
# jmespath = { version = "^0.2", optional = true }
lazy_static = { version = "^1.4", optional = true }
reqwest = { version = "0.11", optional = true, features = ["blocking"] }
serde = { version = "^1", features = ["rc"], optional = true }
serde_json = { version = "^1", optional = true }
serde_yaml = { version = "^0.8", optional = true }
thiserror = "1.0"
toml = { version = "^0.5", optional = true, features = ["preserve_order"] }
enquote = { version = "^1.0", optional = true }
jsonnet-rs = { version = "^0.17", optional = true }
[dev-dependencies]
spectral = "0.6"
tempfile = "3.1"
pretty_assertions = "0.7"
unindent = "0.1"
[features]
default = ["string", "http_attohttpc", "json", "jsonnet"]
string = ["Inflector", "enquote"]
http_attohttpc = ["attohttpc", "http_fct"]
http_reqwest = ["reqwest", "http_fct"]
http_fct = []
json = ["lazy_static", "serde", "serde_json", "serde_yaml", "toml"]
jsonnet = ["jsonnet-rs"]