-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeny.toml
102 lines (86 loc) · 3.1 KB
/
deny.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
[graph]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
ignore = []
[licenses]
confidence-threshold = 0.93
private = { ignore = true }
allow = [ "Apache-2.0", "MIT", "ISC", "Zlib", "BSD-3-Clause", "MPL-2.0", "Unicode-DFS-2016" ]
exceptions = [
{ name = "ring", allow = [ "MIT", "ISC", "OpenSSL" ] },
]
[[licenses.clarify]]
name = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 },
]
[[licenses.clarify]]
name = "webpki"
expression = "ISC"
license-files = [
{ path = "LICENSE", hash = 0x001c7e6c },
]
[bans]
multiple-versions = "warn"
highlight = "all"
skip = [
# Blocked on `crossbeam-utils` bumping `cfg-if` to `1.0.x`
{ name = "cfg-if", version = "1.0.0" },
# Blocked on serenity updating "syn"
{ name = "syn", version = "1.0.109" },
# Blocked on serenity 13
{ name = "http", version = "0.2.12" },
{ name = "http-body", version = "0.4.6" },
{ name = "hyper", version = "0.14.28" },
{ name = "hyper-rustls", version = "0.24.2" },
{ name = "reqwest", version = "0.11.27" },
{ name = "rustls", version = "0.21.10" },
{ name = "tokio-rustls", version = "0.24.1" },
{ name = "webpki-roots", version = "0.25.4" },
{ name = "rustls-webpki", version = "0.101.7" },
{ name = "bitflags", version = "1.3.2" },
{ name = "windows_x86_64_msvc", version = "0.48.5" },
{ name = "windows_x86_64_gnu", version = "0.48.5" },
{ name = "windows-targets", version = "0.48.5" },
{ name = "windows-sys", version = "0.48.0" },
{ name = "winreg", version = "0.50.0" },
{ name = "windows-sys", version = "0.52.0" },
{ name = "tokio-rustls", version = "0.25.0" },
{ name = "sync_wrapper", version = "0.1.2" },
{ name = "rustls-pemfile", version = "1.0.4" },
{ name = "rustls", version = "0.22.4" },
{ name = "base64", version = "0.21.7" },
]
# Mostly soundness denies since the advisory lacks a section for soundess bugs
deny = [
# Appears to be moving towards integrating rio more tightly for io_uring support
{ name = "sled", version = "*" },
# The general idea seems unsound, and the current version does contain UB.
# https://github.com/Kimundi/owning-ref-rs/issues/71
{ name = "owning_ref", version = "*" },
# It's a crate only intended for testing; people insist on using it for some reason.
# https://crates.io/crates/markup5ever_rcdom/0.1.0
{ name = "markup5ever_rcdom", version = "0.1.0" },
# https://github.com/RustSec/advisory-db/issues/826
{ name = "totally-safe-transmute", version = "*" },
# https://github.com/RustSec/advisory-db/issues/743
{ name = "fast-floats", version = "*" },
# https://github.com/RustSec/advisory-db/issues/913
{ name = "hexchat", version = ">=0.3.0" },
]
[sources]
unknown-registry = "warn"
unknown-git = "deny"
allow-git = [
"https://github.com/mdsherry/clokwerk",
]
[sources.allow-org]
github = [
"adumbidiot",
]