Skip to content

Commit 7f9ed8d

Browse files
committed
Allow unused workspace dependencies due to cargo-deny mirror issue
Temporarily allow unused workspace dependencies in cargo deny config to work around a known issue (cargo-deny#694) where the unused check fails when using registry mirrors or vendor directories. The issue causes false positives in the unused workspace dependency check when crates.io is replaced with a mirror or vendored dependencies. This change allows builds to proceed while maintaining other cargo deny checks. Reference: EmbarkStudios/cargo-deny#694
1 parent 5cfdbe5 commit 7f9ed8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: sources/deny.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ skip-tree = [
7171
[bans.workspace-dependencies]
7272
duplicates = "deny"
7373
include-path-dependencies = true
74-
unused = "deny"
74+
unused = "allow"
7575

7676
[advisories]
7777
# generational-arena is currently unmaintained.

0 commit comments

Comments
 (0)