forked from kube-rs/kube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
123 lines (102 loc) · 3.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# examples sometimes lag behind as they use higher level dependencies
# we exclude these from the check because they are not part of our
# actual dependency tree
exclude = ["kube-examples"]
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
yanked = "warn"
notice = "warn"
ignore = [
# Ignoring issues related to `localtime_r` for now
# See https://github.com/kube-rs/kube/issues/650
#
# Potential segfault in the `time` crate
# Tracking issue: https://github.com/kube-rs/kube/issues/656
# PR to update `time`: https://github.com/chronotope/chrono/pull/578
"RUSTSEC-2020-0071",
# Potential segfault in `localtime_r` invocations
# Tracking issue: https://github.com/kube-rs/kube/issues/660
# Upstream issue: https://github.com/chronotope/chrono/issues/499
"RUSTSEC-2020-0159",
]
[licenses]
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
confidence-threshold = 1.0
copyleft = "deny"
default = "deny"
unlicensed = "deny"
# We are beholden to https://github.com/cncf/foundation/blob/master/allowed-third-party-license-policy.md#approved-licenses-for-allowlist
allow = [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"LicenseRef-ring",
"LicenseRef-webpki",
]
exceptions = [
# The Unicode-DFS--2016 license is necessary for unicode-ident because they
# use data from the unicode tables to generate the tables which are
# included in the application. We do not distribute those data files so
# this is not a problem for us. See https://github.com/dtolnay/unicode-ident/pull/9/files
# for more details.
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" }
]
[[licenses.clarify]]
name = "ring"
expression = "LicenseRef-ring"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 },
]
[[licenses.clarify]]
name = "webpki"
expression = "LicenseRef-webpki"
license-files = [
{ path = "LICENSE", hash = 0x001c7e6c },
]
# rustls' webpki fork uses same license https://github.com/rustls/webpki
[[licenses.clarify]]
name = "rustls-webpki"
expression = "LicenseRef-webpki"
license-files = [
{ path = "LICENSE", hash = 0x001c7e6c },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
[bans]
multiple-versions = "deny"
[[bans.skip]]
name = "hermit-abi"
[[bans.skip]]
# Needs a complicated upgrade
name = "syn"
[[bans.skip]]
# waiting for pem to bump base64
# https://github.com/jcreekmore/pem-rs/blob/master/Cargo.toml#L16
name = "base64"
[[bans.skip]]
# used by h2->hyper->hyper-openssl (we have latest)
# newer used by serde_json
name = "indexmap"
[[bans.skip]]
# via indexmap - have to also skip this
name = "hashbrown"
[[bans.skip]]
# latest via openssl->hyper-openssl (we have latest)
# newer via tower-http (we have latest)
name = "bitflags"
[[bans.skip]]
# deep in dependency tree, only dual use via dev dependency
name = "redox_syscall"
[[bans.skip-tree]]
name = "windows-sys"
[[bans.skip]]
# deep in dependency tree, dual use via tokio and hyper (needs a bump there)
name = "socket2"