-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
87 lines (76 loc) · 2.59 KB
/
Copy pathdeny.toml
File metadata and controls
87 lines (76 loc) · 2.59 KB
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
# cargo-deny configuration. Run `cargo deny check` locally and in CI.
# Docs: https://embarkstudios.github.io/cargo-deny/
[graph]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"aarch64-linux-android",
]
all-features = false
no-default-features = false
[output]
feature-depth = 1
# ────────────────────────────────────────────────────────────
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "warn"
ignore = [
# Add RUSTSEC IDs here with rationale and re-evaluation date.
# Example: { id = "RUSTSEC-2020-0071", reason = "transitive via tonic 0.10, planned upgrade in M3" },
]
# ────────────────────────────────────────────────────────────
[licenses]
confidence-threshold = 0.93
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"MIT",
"MIT-0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"CC0-1.0",
"MPL-2.0",
"OpenSSL",
]
exceptions = [
# Add per-crate license exemptions with reason.
# { allow = ["GPL-3.0"], crate = "some-crate" },
]
[[licenses.clarify]]
crate = "ring"
expression = "ISC AND MIT AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 },
]
# ────────────────────────────────────────────────────────────
[bans]
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
# Skip multi-version warnings for known transitives we cannot upgrade yet.
skip = [
# { crate = "windows-sys", reason = "kube + tokio pull different majors" },
]
deny = [
# Crates we never want in our supply chain.
# { crate = "openssl", reason = "use rustls instead" },
]
# ────────────────────────────────────────────────────────────
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = [
"https://github.com/deepflowio/hpack-rs",
"https://github.com/deepflowio/procfs",
]
[sources.allow-org]
github = []