-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdeny.toml
95 lines (87 loc) · 2.84 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
92
93
94
95
#############################################################################################
# This file is based on https://github.com/EmbarkStudios/cargo-fetcher/blob/master/deny.toml
#############################################################################################
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
vulnerability = "deny"
unmaintained = "deny"
notice = "deny"
ignore = [
# Reqwest is dependent on Spin which is unmaintained.
"RUSTSEC-2019-0031",
]
[bans]
multiple-versions = "deny"
deny = [
# we never want a dependency on openssl due to all of the cross platform
# issues it has, particularly on windows
{ name = "openssl" },
{ name = "openssl-sys" },
]
skip = [
# reqwest (<=2.0)
{ name = "autocfg", version = "=0.1.7" },
{ name = "idna", version = "=0.1.5" },
{ name = "percent-encoding", version = "=1.0.1" },
{ name = "serde_urlencoded", version = "=0.5.5" },
{ name = "url", version = "=1.7.2" },
{ name = "tokio", version = "=0.1.22" },
{ name = "parking_lot", version = "=0.9.0" },
{ name = "parking_lot_core", version = "=0.6.2" },
{ name = "http", version = "=0.1.21" },
{ name = "h2", version = "=0.1.26" },
{ name = "futures", version = "=0.1.29" },
{ name = "bytes", version = "=0.4.12" },
{ name = "winapi", version = "=0.2.8" },
{ name = "version_check", version = "=0.1.5" },
{ name = "base64", version = "=0.10.1" },
{ name = "smallvec", version = "=0.6.13" },
{ name = "rand_core", version = "=0.3.1" },
{ name = "rand_core", version = "=0.4.2" },
{ name = "rand_chacha", version = "=0.1.1" },
{ name = "rand", version = "=0.6.5" },
# structop (clap is the culprit)
{ name = "strsim", version = "=0.8.0" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = []
[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "neither"
copyleft = "deny"
confidence-threshold = 0.92
allow = [
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"MIT",
"MPL-2.0",
"OpenSSL",
"Zlib",
]
[[licenses.clarify]]
name = "ring"
# SPDX considers OpenSSL to encompass both the OpenSSL and SSLeay licenses
# https://spdx.org/licenses/OpenSSL.html
# ISC - Both BoringSSL and ring use this for their new files
# MIT - "Files in third_party/ have their own licenses, as described therein. The MIT
# license, for third_party/fiat, which, unlike other third_party directories, is
# compiled into non-test libraries, is included below."
# OpenSSL - Obviously
expression = "ISC AND MIT AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 },
]
[[licenses.clarify]]
name = "webpki"
expression = "ISC"
license-files = [
{ path = "LICENSE", hash = 0x001c7e6c },
]