Visual Studio Code, rebuilt in Rust
Rust
build: check RustSec advisories with cargo-deny
rokarturfc960700b2c8
diff --git a/native/deny.toml b/native/deny.tomlnew file mode 100644index 00000000000..8003237a3fa--- /dev/null+++ b/native/deny.toml@@ -0,0 +1,12 @@+# cargo deny --locked check advisories (docs/memory-safety.md): fails on a RustSec advisory for a crate in Cargo.lock.+# Licenses stay with port/tools/check-licenses.+[advisories]+# A vulnerability or unsound advisory fails anywhere in the graph; an unmaintained one only for a crate the port names itself.+unmaintained = "workspace"+# Each entry: why the port is not affected, or what must happen before the entry can go.+ignore = [+ { id = "RUSTSEC-2026-0620", reason = "curve25519-dalek 4.1.3 picks its AVX-512 backend only on a nightly compiler; the port builds on stable" },+ { id = "RUSTSEC-2026-0459", reason = "SQLite bundled by libsqlite3-sys, the Windows build only (crates/storage); the port opens only its own state.vscdb files. Goes with a rusqlite that bundles SQLite 3.54 or newer" },+ { id = "RUSTSEC-2026-0543", reason = "chrono is unmaintained, no fixed version; the app formats local dates with it. Goes when the app moves to jiff or time" },+ { id = "RUSTSEC-2026-0192", reason = "ttf-parser is unmaintained, no fixed version; the app reads font tables of bundled and extension icon fonts with it. Goes when the app moves to skrifa" },+]