|
| 1 | +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 3 | + |
| 4 | +# cargo-deny configuration |
| 5 | +# https://embarkstudios.github.io/cargo-deny/ |
| 6 | + |
| 7 | +[graph] |
| 8 | +all-features = false |
| 9 | +no-default-features = false |
| 10 | + |
| 11 | +# -- Advisories (RustSec + NVD) ------------------------------------------------ |
| 12 | +[advisories] |
| 13 | +yanked = "warn" |
| 14 | +unmaintained = "workspace" |
| 15 | +maximum-db-staleness = "P30D" |
| 16 | +ignore = [ |
| 17 | + # Pre-existing advisories acknowledged at onboarding. Each should be |
| 18 | + # resolved by upgrading the affected transitive dependency and then |
| 19 | + # removing the ignore entry. |
| 20 | + { id = "RUSTSEC-2026-0190", reason = "anyhow unsoundness in downcast_mut — awaiting upstream fix" }, |
| 21 | + { id = "RUSTSEC-2026-0204", reason = "crossbeam-epoch pointer deref — transitive via metrics/quanta" }, |
| 22 | + { id = "RUSTSEC-2023-0071", reason = "rsa Marvin attack — transitive via spiffe, no direct exposure" }, |
| 23 | + { id = "RUSTSEC-2025-0134", reason = "rustls-pemfile unmaintained — transitive via older kube/hyper" }, |
| 24 | + { id = "RUSTSEC-2026-0098", reason = "rustls-webpki URI name constraints — transitive via older rustls" }, |
| 25 | + { id = "RUSTSEC-2026-0099", reason = "rustls-webpki wildcard name constraints — transitive via older rustls" }, |
| 26 | + { id = "RUSTSEC-2026-0104", reason = "rustls-webpki CRL parsing panic — transitive via older rustls" }, |
| 27 | + { id = "RUSTSEC-2025-0068", reason = "serde_yml unsound+unmaintained — direct dep, no maintained alternative yet" }, |
| 28 | +] |
| 29 | + |
| 30 | +# -- Licenses ------------------------------------------------------------------ |
| 31 | +[licenses] |
| 32 | +confidence-threshold = 0.8 |
| 33 | +unused-allowed-license = "allow" |
| 34 | + |
| 35 | +allow = [ |
| 36 | + "Apache-2.0", |
| 37 | + "Apache-2.0 WITH LLVM-exception", |
| 38 | + "MIT", |
| 39 | + "MIT-0", |
| 40 | + "BSD-1-Clause", |
| 41 | + "BSD-2-Clause", |
| 42 | + "BSD-3-Clause", |
| 43 | + "BSL-1.0", |
| 44 | + "ISC", |
| 45 | + "Zlib", |
| 46 | + "0BSD", |
| 47 | + "CC0-1.0", |
| 48 | + "Unlicense", |
| 49 | + "Unicode-3.0", |
| 50 | + "CDLA-Permissive-2.0", |
| 51 | +] |
| 52 | + |
| 53 | +[licenses.private] |
| 54 | +ignore = true |
| 55 | +registries = [] |
| 56 | + |
| 57 | +# -- Bans ---------------------------------------------------------------------- |
| 58 | +[bans] |
| 59 | +multiple-versions = "warn" |
| 60 | +wildcards = "allow" |
| 61 | +highlight = "all" |
| 62 | +workspace-default-features = "allow" |
| 63 | +external-default-features = "allow" |
| 64 | + |
| 65 | +# -- Sources ------------------------------------------------------------------- |
| 66 | +[sources] |
| 67 | +unknown-registry = "deny" |
| 68 | +unknown-git = "deny" |
| 69 | +allow-registry = ["https://github.com/rust-lang/crates.io-index"] |
| 70 | +allow-git = [] |
0 commit comments