-
Notifications
You must be signed in to change notification settings - Fork 1
/
deny.toml
90 lines (76 loc) · 2.39 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
# 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-rs/issues/650
#
# Potential segfault in the `time` crate
# Tracking issue: https://github.com/kube-rs/kube-rs/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-rs/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"
]
[[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 },
]
[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]]
# The following dependencies are still working on upgrading to 0.7:
# https://github.com/hyperium/h2/pull/603
# https://github.com/tower-rs/tower/pull/638
# https://github.com/tower-rs/tower-http/pull/221
name = "tokio-util"
version = "0.6"
[[bans.skip]]
# The following dependencies are still working on upgrading to 0.3
# https://github.com/rustls/hyper-rustls/pull/165
name = "rustls-pemfile"
version = "0.2"
[[bans.skip]]
# waiting for ahash/getrandom to bump wasi as we have two branches:
# ahash -> getrandom -> wasi old
# tokio -> mio -> wasi new
name = "wasi"