-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (68 loc) · 1.56 KB
/
Cargo.toml
File metadata and controls
77 lines (68 loc) · 1.56 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
[workspace]
resolver = "2"
members = [
".",
"conf_derive",
"conf_extra",
]
[workspace.package]
repository = "https://github.com/cbeck88/conf-rs"
license = "MIT OR Apache-2.0"
edition = "2024"
rust-version = "1.85" # MSRV
include = [
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"REFERENCE*.md",
]
[package]
name = "conf"
version = "0.4.5"
description = "A derive-based config parser for CLI args, env, and structured config files"
categories = ["command-line-interface"]
keywords = [
"argument",
"config",
"configuration",
"settings",
"environment"
]
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[lib]
bench = false
[[example]]
name = "completions"
path = "examples/completion_example.rs"
required-features = ["completion"]
[[example]]
name = "serde_basic"
required-features = ["serde"]
[[example]]
name = "figment"
required-features = ["serde"]
[dependencies]
conf_derive = { path = "./conf_derive", version = "0.4.5" }
clap = { version = "4.5.8", features = ["string"] }
clap_lex = { version = "0.7" }
anstyle = "1"
serde = { version = "1", optional = true }
clap_complete = { version = "4.5.61", optional = true }
[features]
default = ["serde"]
completion = ["dep:clap_complete"]
[dev-dependencies]
assert_matches = "1.5"
escargot = "0.5"
figment = { version = "0.10", features = ["json", "toml"] }
http = { version = "1.1" }
pem = { version = "3", features = ["std"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.9"
trybuild = "1.0"