Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
63 lines (55 loc) · 1.56 KB
/
Copy pathdeny.toml
File metadata and controls
63 lines (55 loc) · 1.56 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
# openbao dependency policy.
#
# The crate is dual-licensed MIT OR Apache-2.0. Runtime dependencies should
# remain minimal, reviewed, and crates.io-only unless a release plan explicitly
# approves otherwise.
[graph]
all-features = true
[licenses]
confidence-threshold = 0.95
include-dev = true
unused-allowed-license = "allow"
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"MIT-0",
"MPL-2.0",
# LLVM's libFuzzer runtime is development-only through libfuzzer-sys.
"NCSA",
"Unicode-3.0",
"Zlib",
]
[licenses.private]
ignore = true
[bans]
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
skip = [
# Current procedural-macro dependencies are split between syn 2 and syn 3.
# syn is compile-time-only; limit the exception to the older major line so
# any additional duplicate remains visible.
{ name = "syn", version = "2" },
]
# getrandom/rand duplicate versions are currently transitive through TLS and
# cryptography dependencies. Keep them visible as warnings instead of skipping
# them so every release gate re-checks whether dependency upgrades collapse the
# graph or introduce additional randomness crate lines.
[advisories]
db-path = "/tmp/openbao-rust-crate-cargo-deny-advisory-dbs"
yanked = "deny"
ignore = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
required-git-spec = "rev"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []