-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeny.toml
83 lines (75 loc) · 1.86 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
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 = [
# time has a security vulnerability, but it isn't interesting to us
"RUSTSEC-2020-0071",
# failure crate has a bug and is unmaintained, but we are only using it
# via build dependencies
"RUSTSEC-2020-0036",
"RUSTSEC-2019-0036",
]
[licenses]
# This was changed to warn to work around mbedtls and mbedtls-sys-auto issues
# See https://github.com/EmbarkStudios/cargo-deny/issues/498
unlicensed = "warn"
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-3-Clause",
"ISC",
"MIT",
"Unicode-DFS-2016",
"GPL-3.0",
"LGPL-3.0",
]
deny = []
copyleft = "allow"
allow-osi-fsf-free = "both"
default = "deny"
confidence-threshold = 0.8
[[licenses.clarify]]
name = "mc-sgx-types"
expression = "Apache-2.0"
license-files = [
{ path = "LICENSE", hash = 0xb433aff8 }
]
[[licenses.clarify]]
name = "rs-libc"
expression = "MIT"
license-files = [
{ path = "LICENSE", hash = 0x7933df3c }
]
[bans]
multiple-versions = "warn"
# Lint level for when a crate version requirement is `*`
# Because we have many path deps into mobilecoin, we implicitly have wildcards,
# and that's okay for now, until it's not a submodule anymore.
wildcards = "warn"
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 = [ ]
[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
[sources.allow-org]
github = []
gitlab = []
bitbucket = []