From 378124a2bd1187382e0bd1c7f426a7d2aaacfbfd Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Mon, 29 Jun 2026 22:49:26 -0400 Subject: [PATCH] Exclude dev dependencies from cargo-deny (#9771) --- .deny.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.deny.toml b/.deny.toml index 2f79de7e1..b8e11861b 100644 --- a/.deny.toml +++ b/.deny.toml @@ -4,6 +4,8 @@ # scope. The binaries, tests, examples, and tooling in this workspace pull in many # more dependencies that would produce false-positive advisory/ban/license noise. exclude-unpublished = true +# Dev dependencies are not relevant to the published library crates, so we ignore them. +exclude-dev = true [bans] multiple-versions = "deny" @@ -19,9 +21,6 @@ skip = [ # wgpu-hal -> drm -> drm-sys uses an older version, while wgpu-hal -> drm -> rustix uses a newer one { name = "linux-raw-sys", version = "0.9.4" }, - - # wgpu-hal -> ndk-sys -> jni-sys uses an old version, while jni-sys 0.4 re-exports it - { name = "jni-sys", version = "0.3.1" }, ] wildcards = "deny" allow-wildcard-paths = true