-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeny.toml
75 lines (70 loc) · 2.2 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
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "deny"
ignore = [
# yaml_rust is unmaintained, which is a dependency of twelf. Ignoring until its fixed
"RUSTSEC-2024-0320",
]
[licenses]
version = 2
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MIT",
"OpenSSL",
"Unicode-3.0",
"WTFPL",
"Zlib",
]
confidence-threshold = 0.8
exceptions = [
{ name = "wolfssl", allow = ["GPL-3.0"], version = "*" },
{ name = "wolfssl-sys", allow = ["GPL-3.0"], version = "*" },
{ name = "lightway-client", allow = ["AGPL-3.0"], version = "*" },
{ name = "lightway-core", allow = ["AGPL-3.0"], version = "*" },
{ name = "lightway-server", allow = ["AGPL-3.0"], version = "*" },
{ name = "lightway-app-utils", allow = ["AGPL-3.0"], version = "*" },
]
[licenses.private]
ignore = true
[bans]
multiple-versions = "deny"
wildcards = "allow"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
skip = [
{ name = "base64", version = "0.21.7" },
{ name = "block-buffer", version = "0.9.0" },
{ name = "darling", version = "0.14.4" },
{ name = "darling_core", version = "0.14.4" },
{ name = "darling_macro", version = "0.14.4" },
{ name = "digest", version = "0.9.0" },
{ name = "hashbrown", version = "0.12.3" },
{ name = "heck", version = "0.4.1" },
{ name = "indexmap", version = "1.9.3" },
{ name = "serde_yaml", version = "0.8.26" },
{ name = "strsim", version = "0.10.0" },
{ name = "syn", version = "1.0.109" },
{ name = "thiserror", version = "1.0.69" },
{ name = "thiserror-impl", version = "1.0.69" },
{ name = "windows-sys", version = "0.52.0" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = [
"https://github.com/expressvpn/wolfssl-rs",
]
# See https://github.com/briansmith/ring/blob/main/LICENSE Ring
# contains elements liscensed under all of ISC, MIT and OpenSSL
# licenses.
[[licenses.clarify]]
name = "ring"
expression = "ISC AND MIT AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]