-
Notifications
You must be signed in to change notification settings - Fork 13
/
deny.toml
88 lines (83 loc) · 2.76 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
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
yanked = "deny"
notice = "warn"
ignore = []
[licenses]
unlicensed = "deny"
allow = ["Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "MIT"]
deny = []
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
exceptions = [
{ allow = [
"ISC",
"MIT",
"OpenSSL",
], name = "ring", version = "*" },
# 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 = [
"MIT",
"Apache-2.0",
"Unicode-DFS-2016",
], name = "unicode-ident" },
{ allow = [
"Zlib",
], name = "adler32" },
]
[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[bans]
multiple-versions = "deny"
wildcards = "allow"
highlight = "all"
deny = []
skip = [
# `rustls-pemfile` and `k8s-openapi` depend on versions of `base64` that
# have diverged significantly.
{ name = "base64" },
# the current versions of `hyper` and `tokio` depend on semver-incompatible
# versions of `socket2` (0.4 and 0.5, respectively).
{ name = "socket2" },
]
skip-tree = [
{ name = "windows-sys" },
{ name = "windows_aarch64_msvc" },
{ name = "windows_i686_gnu" },
{ name = "windows_i686_msvc" },
{ name = "windows_x86_64_gnu" },
{ name = "windows_x86_64_msvc" },
# tracing-subscriber needs an older regex-automata.
{ name = "regex-automata" },
# `serde_json` and `serde_yaml` depend on incompatible versions of indexmap
{ name = "indexmap" },
# the proc-macro ecosystem is still in the process of migrating from `syn`
# 1.0 to `syn` 2.0
{ name = "syn" },
# `parking-lot-core` and `dirs-next` (transitive deps via `kube-client`)
# depend on incompatible versions of `redox_syscall`.
{ name = "redox_syscall" },
# `rcgen` (used to generate test key material in TLS server tests) depends
# on a version of the `pem` crate that has diverged substantially from
# `kube-client`'s dep on the same crate (v3.0 vs v1.1). however, since
# `rcgen` is a test-only dependency, it's not a huge deal if it introduces
# duplicate deps, as they won't be present in real life.
{ name = "rcgen" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []