-
Notifications
You must be signed in to change notification settings - Fork 89
/
deny.toml
62 lines (56 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
50
51
52
53
54
55
56
57
58
59
60
61
62
[graph]
targets = [
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-apple-darwin" },
{ triple = "aarch64-apple-darwin" },
]
[advisories]
version = 2
yanked = "deny"
ignore = [
# this is a timing attack against using the rsa crate for encryption, but
# we only use rsa decryption here
"RUSTSEC-2023-0071",
]
[bans]
multiple-versions = "deny"
wildcards = "deny"
deny = [
{ name = "openssl-sys" },
]
skip = [
# https://github.com/darfink/region-rs/pull/25
{ name = "bitflags", version = "1.3.2" },
{ name = "bitflags", version = "2.4.1" },
# axum currently depends on both of these
{ name = "sync_wrapper", version = "0.1.2" },
{ name = "sync_wrapper", version = "1.0.1" },
]
[licenses]
version = 2
allow = [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause",
"Apache-2.0",
"ISC",
"Unicode-DFS-2016",
]
exceptions = [
{ name = "ring", allow = ["OpenSSL", "MIT", "ISC"] }
]
[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[[licenses.clarify]]
name = "encoding_rs"
version = "*"
expression = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
license-files = [
{ path = "COPYRIGHT", hash = 0x39f8ad31 }
]