-
Notifications
You must be signed in to change notification settings - Fork 1
/
deny.toml
99 lines (80 loc) · 2.95 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
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]
vulnerability = "deny"
unmaintained = "deny"
notice = "deny"
ignore = [
# blocked on tokio bumping mio to 0.7
"RUSTSEC-2020-0016",
]
[licenses]
unlicensed = "deny"
copyleft = "deny"
allow-osi-fsf-free = "neither"
confidence-threshold = 0.93
default = "deny"
private = { ignore = true }
allow = [ "Apache-2.0", "MIT", "Unlicense", "Zlib", "BSD-3-Clause", "MPL-2.0" ]
exceptions = []
[[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 = "deny"
highlight = "all"
skip = [
# blocked on tokio bumping mio to 0.7
{ name = "winapi", version = "0.2.8" },
# Blocked on rand updating their getrandom dep
{ name = "getrandom", version = "0.1.15" },
# Blocked on tracing-futures and async-tungstentite bumping pin-project to 1.0.x86_64-apple-darwin
{ name = "pin-project", version = "0.4.27" },
{ name = "pin-project-internal", version = "0.4.27" },
# Blocked on reqwest, rustls, and tungstentite bumping base64 to 0.13.x
{ name = "base64", version = "0.12.3" },
# Blocked on crossbeam, dashmap, dirs, getrandom, heim, log, mio, net2, nix, openssl, parking_lot, socket2, tempfile, and tracing updating to cfg-if 1.0.x
{ name = "cfg-if", version = "0.1.10" },
# Blocked on sync-compression updating pin-project-lite to 0.2.x
{ name = "pin-project-lite", version = "0.1.11" },
]
# Mostly soundness denies since the advisory lacks a section for soundess bugs
deny = [
# https://github.com/RustSec/advisory-db/issues/298
{ name = "linked-hash-map", version = "<0.5.3" },
# https://github.com/RustSec/advisory-db/pull/290
{ name = "bigint", version = "*" },
# https://github.com/RustSec/advisory-db/pull/293
# NOTE: May be sound in the future: https://github.com/RustSec/advisory-db/pull/293#issuecomment-641898680
{ name = "rio", version = "*" },
# https://github.com/RustSec/advisory-db/issues/299
{ name = "smallvec", version = "<0.6.13" },
# https://github.com/RustSec/advisory-db/pull/268
{ name = "plutonium", version = "*" },
# https://github.com/RustSec/advisory-db/pull/308
{ name = "traitobject", version = "*" },
# https://github.com/RustSec/advisory-db/issues/305
{ name = "rental", version = "*" },
# Appears to be moving towards integrating rio more tightly for io_uring support
{ name = "sled", version = "*" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = [ "https://github.com/rust-lang/crates.io-index" ]
allow-git = [
"https://github.com/boa-dev/boa"
]