|
| 1 | +# Public dependency-audit policy. |
| 2 | +# |
| 3 | +# Keep `cargo audit --deny warnings` fail-closed. The exceptions below are |
| 4 | +# exact RustSec advisory IDs already present in the current Tauri 2 dependency |
| 5 | +# graph; a new advisory, a new crate, or an ID change still fails CI. |
| 6 | +# |
| 7 | +# Review deadline: 2026-10-15 (or immediately after a Tauri upgrade). |
| 8 | + |
| 9 | +[advisories] |
| 10 | +ignore = [ |
| 11 | + # Linux-only GTK3 stack. CodeCLI is released for macOS and Windows only; |
| 12 | + # The release gate parses `cargo tree --edges normal,build` for arm64/x86_64 |
| 13 | + # macOS and x86_64 Windows and proves these crates are absent from every |
| 14 | + # shipped target graph (not merely present somewhere in Cargo.lock). |
| 15 | + "RUSTSEC-2024-0411", # gdkwayland-sys: unmaintained |
| 16 | + "RUSTSEC-2024-0412", # gdk: unmaintained |
| 17 | + "RUSTSEC-2024-0413", # atk: unmaintained |
| 18 | + "RUSTSEC-2024-0414", # gdkx11-sys: unmaintained |
| 19 | + "RUSTSEC-2024-0415", # gtk: unmaintained |
| 20 | + "RUSTSEC-2024-0416", # atk-sys: unmaintained |
| 21 | + "RUSTSEC-2024-0417", # gdkx11: unmaintained |
| 22 | + "RUSTSEC-2024-0418", # gdk-sys: unmaintained |
| 23 | + "RUSTSEC-2024-0419", # gtk3-macros: unmaintained |
| 24 | + "RUSTSEC-2024-0420", # gtk-sys: unmaintained |
| 25 | + "RUSTSEC-2024-0429", # glib: unsound API, Linux-only and not shipped |
| 26 | + "RUSTSEC-2024-0370", # proc-macro-error, reachable only through Linux glib |
| 27 | + |
| 28 | + # Tauri 2.11.5 -> tauri-utils 2.9.3 -> urlpattern 0.3.0 currently pins the |
| 29 | + # unmaintained `unic-*` family on every target. These are informational |
| 30 | + # maintenance advisories, not reported vulnerabilities or unsoundness. |
| 31 | + # There is no direct application dependency to replace; remove these exact |
| 32 | + # exceptions as soon as upstream Tauri/urlpattern migrates. |
| 33 | + "RUSTSEC-2025-0075", # unic-char-range |
| 34 | + "RUSTSEC-2025-0080", # unic-common |
| 35 | + "RUSTSEC-2025-0081", # unic-char-property |
| 36 | + "RUSTSEC-2025-0098", # unic-ucd-version |
| 37 | + "RUSTSEC-2025-0100", # unic-ucd-ident |
| 38 | +] |
| 39 | + |
| 40 | +[output] |
| 41 | +# Explicitly keep every non-ignored informational category release-blocking. |
| 42 | +deny = ["unmaintained", "unsound", "yanked"] |
| 43 | +format = "terminal" |
| 44 | +quiet = false |
| 45 | +show_tree = true |
| 46 | + |
| 47 | +[yanked] |
| 48 | +enabled = true |
| 49 | +update_index = true |
0 commit comments