-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
53 lines (48 loc) · 1.62 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
# add whatever else we support.
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
{ triple = "aarch64-linux-android" },
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "aarch64-unknown-linux-musl" },
{ triple = "aarch64-apple-ios" },
{ triple = "aarch64-apple-darwin" },
{ triple = "armv7-unknown-linux-gnueabihf" },
{ triple = "armv7-unknown-linux-musleabi" },
{ triple = "arm-unknown-linux-gnueabihf" },
{ triple = "wasm32-unknown-unknown" },
]
[advisories]
vulnerability = "deny"
unmaintained = "warn"
yanked = "deny"
ignore = [
"RUSTSEC-2020-0071", # this could only impact use through our usage of liquid, and we are not using time related liquid helpers. (and only use liquid templates at build-time anyway)
"RUSTSEC-2020-0159",
"RUSTSEC-2021-0127" # dependency on abandoned serde_cbor, through criterion, irrelevant out of build.
]
[bans]
multiple-versions = "warn"
wildcards = "allow"
deny = [
# List crates we don't want in our dependency tree here.
]
# Skip some multiple-versions checks, until they can be fixed.
skip = [
{ name = "quick-error", version="<2" }, # cascading from flate
{ name = "itoa", version="<1" }, # cascading from flate criterion
]
[sources]
# trusted git sources.
allow-git = [
]
[licenses]
allow = [
"Apache-2.0", # https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)
"MIT" # https://tldrlegal.com/license/mit-license
]
clarify = [
]
default = "warn"