-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (46 loc) · 1.4 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
[package]
name = "cli-settings-derive"
version = "0.3.2"
edition = "2021"
description = "Manage CLI settings with configuration file(s) and command line parsing, using serde and clap"
documentation = "https://docs.rs/cli-settings-derive"
keywords = ["clap", "serde", "derive", "config", "setting"]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/mic006/cli-settings-derive"
[lib]
proc-macro = true
[dependencies]
anyhow = "1.0.89"
clap = { version = "4.5.19", features = ["derive"] }
proc-macro2 = "1.0.86"
quote = "1.0.37"
serde = { version = "1.0.210", features = ["derive"] }
serde_with = { version = "3.10.0", default-features = false, features = [
"macros",
] }
serde_yaml = "0.9.34"
syn = "2.0.79"
[dev-dependencies]
log = "0.4.22"
macrotest = "1.0.13"
syn = { version = "2.0.79", features = ["full", "extra-traits"] }
[lints.rust]
warnings = "warn"
future-incompatible = "warn"
let-underscore = "warn"
nonstandard-style = "warn"
rust-2018-idioms = "warn"
unused = { level = "warn", priority = -1 }
unsafe_code = "deny"
dead_code = "deny"
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
cargo = { level = "deny", priority = -1 }
# disable some **too** pedantic lints
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
needless_doctest_main = "allow"
multiple_crate_versions = "allow"