-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
108 lines (94 loc) · 2.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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "cargo-unmaintained"
version = "1.6.0"
authors = ["Samuel Moelius <[email protected]>"]
description = "Find unmaintained packages in Rust projects"
edition = "2021"
license = "AGPL-3.0"
repository = "https://github.com/trailofbits/cargo-unmaintained"
[dependencies]
anyhow = { version = "1.0", features = ["backtrace"] }
cargo_metadata = "0.19"
chrono = "0.4"
clap = { version = "4.5", features = ["cargo", "derive", "wrap_help"] }
crates-index = { version = "3.5", features = ["git-https"] }
crates_io_api = "0.11.0"
curl = "0.4"
env_logger = "0.11"
home = "0.5"
log = "0.4"
once_cell = "1.20"
regex = "1.11"
remain = "0.2"
serde = "1.0"
serde_json = "1.0"
sha1_smol = { version = "1.0", features = ["std"] }
tempfile = "3.14"
termcolor = "1.4"
toml = "0.8"
[dev-dependencies]
assert_cmd = "2.0"
ctor = "0.2"
octocrab = "0.42"
predicates = "3.1"
rayon = "1.10"
rustsec = "0.30"
similar-asserts = "1.6"
snapbox = "0.6"
strum = "0.26"
strum_macros = "0.26"
tokio = "1.42"
[features]
default = ["on-disk-cache", "lock-index"]
cache-repositories = ["on-disk-cache"]
ei = []
on-disk-cache = []
lock-index = ["libc", "windows-sys"]
[lints.rust.unexpected_cfgs]
level = "deny"
check-cfg = ["cfg(dylint_lib, values(any()))", "cfg(__warnings)"]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
format-collect = "allow"
missing-errors-doc = "allow"
missing-panics-doc = "allow"
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2", optional = true }
xdg = { version = "2.5" }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = [
"Win32_Storage_FileSystem",
"Win32_Foundation",
"Win32_System_IO",
], optional = true }
[[test]]
name = "dogfood"
required-features = ["ei"]
[[test]]
name = "rustsec_advisories"
required-features = ["ei"]
[[test]]
name = "rustsec_issues"
required-features = ["ei"]
[[test]]
name = "snapbox"
required-features = ["ei"]
[workspace]
exclude = ["fixtures"]
[[workspace.metadata.dylint.libraries]]
git = "https://github.com/trailofbits/dylint"
pattern = [
"examples/general",
"examples/supplementary",
"examples/restriction/inconsistent_qualification",
"examples/restriction/misleading_variable_name",
"examples/restriction/suboptimal_pattern",
"examples/restriction/try_io_result",
]
[workspace.metadata.unmaintained]
ignore = [
"foreign-types",
"icu_locid",
"icu_locid_transform",
"icu_locid_transform_data",
]