-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
74 lines (67 loc) · 1.77 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
69
70
71
72
73
74
[package]
authors = ['Daniel Yu <[email protected]>']
categories = ['config']
description = 'A rust configuration loader'
documentation = 'https://docs.rs/cfg-rs/'
edition = "2018"
homepage = 'https://github.com/leptonyu/cfg-rs'
keywords = ['configuration', 'config', 'settings', 'env', 'environment']
license = 'MIT'
name = "cfg-rs"
readme = 'README.md'
repository = 'https://github.com/leptonyu/cfg-rs'
rust-version = "1.74.0"
version = "0.4.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ['--cfg', 'docsrs']
[package.metadata.playground]
all-features = true
[workspace]
members = ['.', 'cfg-derive']
[features]
default = []
full = ["toml", "yaml", "json", "rand", "ini", "log"]
ini = ["rust-ini"]
rand = ["rand_chacha", "rand_core"]
yaml = ["yaml-rust"]
[dependencies]
cfg-derive = { path = './cfg-derive', version = '^0.2' }
json = { version = ">= 0.12.4", optional = true }
log = { version = ">= 0.4.20", optional = true }
rand_chacha = { version = ">= 0.3.1", optional = true, features = ["std"] }
rand_core = { version = '>= 0.6.4', optional = true, features = ["std"] }
rust-ini = { version = ">= 0.20.0", optional = true }
toml = { version = ">= 0.8.10", optional = true }
yaml-rust = { version = ">= 0.4.5", optional = true }
[dev-dependencies]
env_logger = ">= 0.11.2"
criterion2 = '>= 1.1.0'
clap = '>= 4.5.1'
regex = '>= 1.10.3'
log = '>= 0.4.20'
quickcheck = '1'
quickcheck_macros = '1'
[[example]]
name = "thread_pool"
[[example]]
name = "salak"
[[example]]
name = "test_suit"
[[example]]
name = "logger"
required-features = ["full"]
[[example]]
name = "refresh"
[[example]]
name = "watch"
required-features = ["yaml"]
[[example]]
name = "profile"
required-features = ["toml"]
[[example]]
name = "simple"
required-features = ["full"]
[[bench]]
harness = false
name = "core"