-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdeny.toml
91 lines (83 loc) · 2.23 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
targets = [
# Host.
{ triple = "x86_64-unknown-linux-gnu", features = ["std"] },
{ triple = "x86_64-apple-darwin", features = ["std"] },
{ triple = "aarch64-unknown-linux-gnu", features = ["std"] },
{ triple = "aarch64-apple-darwin", features = ["std"] },
# Runtime.
{ triple = "wasm32-unknown-unknown" },
]
all-features = false
no-default-features = true
feature-depth = 1
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
yanked = "warn"
notice = "warn"
ignore = [
# A potential segfault at the `time` crate, is rather odd conditions though,
# when the env var is set in one thread but no in the other.
#
# Our main blocker here is `substrate`, which has it fixed in `master`.
# At the time of writing substrate `master` is at `a9e85ae50d0efbf66f9a715af3b31bf37b884a6e`.
#
# We are ignoring this vulnerability for now, as it should be covered when
# we update to the substrate that includes the bumped dependency.
# TODO(#606): tracking issue for this ignore clause.
"RUSTSEC-2020-0071",
# TODO(#723): update the ed25519-dalek 1 internal dependency tp 2.0.0+
"RUSTSEC-2022-0093",
]
[licenses]
unlicensed = "deny"
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"0BSD",
"CC0-1.0",
"Unlicense",
# To review:
"MPL-2.0",
"GPL-3.0 WITH Classpath-exception-2.0",
"OpenSSL",
]
deny = []
copyleft = "allow"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
exceptions = [{ allow = ["Unicode-DFS-2016"], name = "unicode-ident", version = "*" }]
[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[licenses.private]
ignore = true
[bans]
multiple-versions = "allow"
wildcards = "allow"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
allow = []
deny = []
features = []
skip = []
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 = ["humanode-network"]
gitlab = []
bitbucket = []