-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (71 loc) · 1.62 KB
/
Cargo.toml
File metadata and controls
77 lines (71 loc) · 1.62 KB
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
69
70
71
72
73
74
75
76
77
[package]
name = "more-config"
version = "2.1.5"
edition = "2018"
rust-version = "1.60"
authors = ["Chris Martinez <chris.s.martinez@hotmail.com>"]
description = "Provides support for configuration"
keywords = ["more", "configuration", "config"]
license = "MIT"
readme = "README.md"
homepage = "https://commonsensesoftware.github.io/more-rs-config/"
repository = "https://github.com/commonsensesoftware/more-rs-config"
include = ["*.rs", "!build.rs", "README.md"]
# RUSTDOCFLAGS="--cfg docsrs"; cargo +nightly doc
[package.metadata.docs.rs]
features = [
"std",
"chained",
"mem",
"env",
"cmd",
"ini",
"json",
"xml",
"yaml",
"binder",
]
rustdoc-args = ["--cfg", "docsrs"]
[lib]
name = "config"
path = "lib.rs"
doctest = false
[features]
default = ["std"]
async = []
util = []
std = ["util"]
chained = ["util"]
mem = ["util"]
env = ["util"]
cmd = ["util"]
ini = ["util", "dep:configparser", "more-changetoken/fs"]
binder = ["dep:serde"]
json = ["util", "dep:serde_json", "more-changetoken/fs"]
yaml = ["util", "dep:serde_yaml", "more-changetoken/fs"]
xml = ["util", "dep:xml_rs", "more-changetoken/fs"]
all = [
"std",
"chained",
"mem",
"env",
"cmd",
"ini",
"binder",
"json",
"xml",
"yaml",
]
[dependencies]
more-changetoken = "2.0"
configparser = { version = "3.0", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
serde_yaml = { version = "0.9", optional = true }
xml_rs = { version = "0.8", package = "xml", optional = true }
cfg-if = "1.0"
[dev-dependencies]
test-case = "2.2"
[dev-dependencies.more-config]
path = "."
features = ["cmd", "json"]