-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
34 lines (30 loc) · 1.04 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
[package]
name = "clap-serde"
version = "0.5.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Provides a wrapper to deserialize clap app using serde."
repository = "https://github.com/aobatact/clap-serde"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
features = ["docsrs"]
[features]
default = ["snake-case-key", "allow-deprecated"]
env = ["clap/env"]
pascal-case-key = ["convert_case"]
kebab-case-key = ["convert_case"]
snake-case-key = []
yaml = ["yaml-rust"]
color = ["clap/color"]
docsrs = ["snake-case-key", "yaml", "env", "color"]
allow-deprecated = []
override-arg = []
[dependencies]
clap = { version = "3.2.16", default-features = false, features = ["std"]}
serde = { version = "1", features = ["derive"]}
yaml-rust = { version = "0.4.5", default-features = false, optional = true }
convert_case = { version = "0.6.0", optional = true }
[dev-dependencies]
serde_json = { version = "1.0.75" }
toml = { version = "0.5.8" }
serde_yaml = { version = "0.9.2" }