-
Notifications
You must be signed in to change notification settings - Fork 378
/
deny.toml
48 lines (43 loc) · 952 Bytes
/
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
[graph]
# only check for the targets we currently publish
targets = [
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
version = 2
# FIXME: remove this if/when clap changes to is-terminal, atty is
# patched, or we migrated to an MSRV of 1.66.0.
ignore = [
"RUSTSEC-2021-0145",
]
[bans]
multiple-versions = "deny"
deny = []
skip-tree = [
{ name = "nix", version = "=0.26.4", depth = 2 },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = []
[licenses]
version = 2
# need this since to suppress errors in case we add crates with these allowed licenses
unused-allowed-license = "allow"
confidence-threshold = 0.93
allow = [
"Apache-2.0",
"MIT",
"CC0-1.0",
"ISC",
"0BSD",
"BSD-2-Clause",
"BSD-3-Clause",
"Unlicense",
"Unicode-DFS-2016",
]
[licenses.private]
ignore = true