forked from googleforgames/quilkin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
70 lines (65 loc) · 2.36 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
#
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
[graph]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
]
all-features = true
[advisories]
ignore = []
[bans]
deny = [
{ crate = "openssl-sys", use-instead = "rustls" },
{ crate = "openssl", use-instead = "rustls" },
{ crate = "cmake", use-instead = "cc" },
{ crate = "chrono", use-instead = "time", wrappers = [
"k8s-openapi",
"kube-client",
"kube-core",
] },
]
multiple-versions = "deny"
skip = [
{ crate = "[email protected]", reason = "several crates use this old version" },
]
skip-tree = [
{ crate = "[email protected]", reason = "matchers is using an old version, https://github.com/hawkw/matchers/pull/5, but it's also barely maintained..." },
{ crate = "[email protected]", reason = "Uses _many_ outdated crates" },
# Much like trust-dns this pulls in a ton of outdated dependencies, but it's _slightly_ better
{ crate = "[email protected]", reason = "Uses _many_ outdated crates" },
]
[bans.workspace-dependencies]
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
version = 2
allow = ["Apache-2.0", "MIT", "ISC", "BSD-3-Clause"]
exceptions = [
{ crate = "adler32", allow = ["Zlib"] },
# This license should not really be used for code, but here we are
{ crate = "notify", allow = ["CC0-1.0"] },
{ crate = "ring", allow = ["OpenSSL"] },
{ crate = "unicode-ident", allow = ["Unicode-DFS-2016"] },
{ crate = "webpki-roots", allow = ["MPL-2.0"] },
]
[[licenses.clarify]]
name = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]