Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
66 lines (58 loc) · 1.86 KB
/
Copy pathdeny.toml
File metadata and controls
66 lines (58 loc) · 1.86 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
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# cargo-deny configuration
# https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = true
no-default-features = false
# -- Advisories (RustSec + NVD) ------------------------------------------------
[advisories]
yanked = "warn"
unmaintained = "workspace"
maximum-db-staleness = "P30D"
ignore = [
{ id = "RUSTSEC-2023-0071", reason = "rsa Marvin attack — required by russh/ssh-key and RSA test fixtures; no patched release is available" },
]
# -- Licenses ------------------------------------------------------------------
[licenses]
confidence-threshold = 0.8
unused-allowed-license = "allow"
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"MIT",
"MIT-0",
"BSD-1-Clause",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
# Permissive, non-copyleft license pulled in by the prebuilt Z3 archive
# path (z3-sys -> zip -> bzip2); compatible with this Apache-2.0 project.
"bzip2-1.0.6",
"ISC",
"Zlib",
"0BSD",
"CC0-1.0",
"Unlicense",
"Unicode-3.0",
"CDLA-Permissive-2.0",
]
[licenses.private]
ignore = true
registries = []
# -- Bans ----------------------------------------------------------------------
[bans]
deny = [
{ name = "ring", wrappers = ["rustls", "rustls-webpki"], reason = "Use the selected crypto backend instead. These wrappers are allowed for z3-sys's prebuilt archive downloader." },
]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
# -- Sources -------------------------------------------------------------------
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []