-
Notifications
You must be signed in to change notification settings - Fork 4
/
deny.toml
77 lines (70 loc) · 1.68 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
targets = []
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
unsound = "deny"
yanked = "deny"
notice = "warn"
ignore = [
# This comes via mbedtls, but only when
# `[target.x86_64-fortanix-unknown-sgx.dependencies]`
# which we don't use
"RUSTSEC-2020-0071",
]
[licenses]
unlicensed = "deny"
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-3-Clause",
"ISC",
"MIT",
"Unicode-DFS-2016",
]
deny = []
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
exceptions = []
[[licenses.clarify]]
# This comes via mbedtls, but only when
# `[target.x86_64-fortanix-unknown-sgx.dependencies]`
# which we don't use. It's license is a BSD with a no nuclear clause
name = "rs-libc"
expression = "BSD-3-Clause"
license-files = [
{ path = "LICENSE", hash = 0x7933df3c },
]
[bans]
multiple-versions = "warn"
# Lint level for when a crate version requirement is `*`
wildcards = "deny"
highlight = "all"
allow = []
deny = [
# https://github.com/briansmith/ring/issues/774
{ name = "ring" },
]
skip = [
# Workaround for path only dependencies,
# https://github.com/EmbarkStudios/cargo-deny/issues/241
# { name = "some/dev/only/path" },
]
skip-tree = [
# mbedtls is held back a bit so it has duplicate versions
{ name = "mbedtls", version = "=0.8.1" },
]
[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = [
"https://github.com/mobilecoinfoundation/rust-mbedtls.git",
]
[sources.allow-org]
github = []
gitlab = []
bitbucket = []