-
Notifications
You must be signed in to change notification settings - Fork 2
/
deny.toml
49 lines (44 loc) · 1.3 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
[graph]
# Cargo deny will check dependencies via `--all-features`
all-features = true
[advisories]
version = 2
ignore = [
{ id = "RUSTSEC-2021-0137", reason = "we will switch to alkali eventually" },
# https://github.com/mehcode/config-rs/issues/563
{ id = "RUSTSEC-2024-0384", reason = "waiting for `web-time` crate to remove the dependency" },
{ id = "RUSTSEC-2024-0388", reason = "waiting for `mongodb` crate to remove the deprecated dependency" },
]
[sources]
unknown-registry = "deny"
[licenses]
version = 2
# We want really high confidence when inferring licenses from text
confidence-threshold = 1.0
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
allow = [
"0BSD",
"Apache-2.0 WITH LLVM-exception",
"Apache-2.0",
"BSD-2-Clause",
"BSD-2-Clause-Patent",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"ISC",
"LicenseRef-ring",
"MIT",
"MPL-2.0", # Although this is copyleft, it is scoped to modifying the original files
"OpenSSL",
"Unicode-DFS-2016",
"Unlicense",
"Zlib",
]
# See https://github.com/briansmith/ring/blob/95948b3977013aed16db92ae32e6b8384496a740/deny.toml#L12
[[licenses.clarify]]
name = "ring"
expression = "LicenseRef-ring"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 },
]