-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
81 lines (71 loc) · 2.24 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
[package]
name = "cargo-unmaintained"
version = "1.0.2"
authors = ["Samuel Moelius <sam@moeli.us>"]
description = "Find unmaintained packages in Rust projects"
edition = "2021"
license = "AGPL-3.0"
repository = "https://github.com/trailofbits/cargo-unmaintained"
[[test]]
name = "rustsec_advisories"
required-features = ["test-ei"]
[[test]]
name = "rustsec_issues"
required-features = ["test-ei"]
[dependencies]
anyhow = { version = "1.0", features = ["backtrace"] }
cargo_metadata = "0.18"
chrono = "0.4"
clap = { version = "4.5", features = ["cargo", "derive", "wrap_help"] }
crates-index = { version = "2.8", features = ["git-https"] }
curl = "0.4"
env_logger = "0.11"
home = "0.5"
log = "0.4"
once_cell = "1.19"
regex = "1.10"
remain = "0.2"
serde = "1.0"
serde_json = "1.0"
sha1_smol = { version = "1.0", features = ["std"] }
tempfile = "3.10"
termcolor = "1.4"
toml = "0.8"
walkdir = "2.5"
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2", optional = true }
xdg = { version = "2.5", optional = true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52", features = [
"Win32_Storage_FileSystem",
"Win32_Foundation",
"Win32_System_IO",
], optional = true }
[dev-dependencies]
assert_cmd = "2.0"
ctor = "0.2"
predicates = "3.1"
rayon = "1.10"
serde = "1.0"
similar-asserts = "1.5"
snapbox = "0.5"
[features]
default = ["cache-repositories", "lock-index"]
cache-repositories = ["xdg"]
test-ei = [] # ei = "externally influenced"
lock-index = ["libc", "windows-sys"]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
format-collect = "allow"
missing-errors-doc = "allow"
missing-panics-doc = "allow"
[workspace.metadata.dylint]
libraries = [
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/general" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/supplementary" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/inconsistent_qualification" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/suboptimal_pattern" },
{ git = "https://github.com/trailofbits/dylint", pattern = "examples/restriction/try_io_result" },
]
[workspace.metadata.unmaintained]
ignore = ["adler"]