Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make CI less failing on cargo deny bans #10151

Merged
merged 2 commits into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 7 additions & 26 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,14 @@ exceptions = [
default = "deny"

[bans]
multiple-versions = "deny"
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
{ name = "ahash", version = "0.7" },
{ name = "bitflags", version = "1.3" },
{ name = "core-foundation-sys", version = "0.6" },
{ name = "jni", version = "0.19" },
{ name = "hashbrown", version = "0.12"},
{ name = "libloading", version = "0.7"},
{ name = "miniz_oxide", version = "0.6"},
{ name = "nix", version = "0.24" },
{ name = "redox_syscall", version = "0.2" },
{ name = "regex-syntax", version = "0.6"},
{ name = "syn", version = "1.0"},
{ name = "windows", version = "0.44"},
{ name = "windows", version = "0.46"},
{ name = "windows-sys", version = "0.45" },
{ name = "windows-targets", version = "0.42"},
{ name = "windows_aarch64_gnullvm", version = "0.42"},
{ name = "windows_aarch64_msvc", version = "0.42"},
{ name = "windows_i686_gnu", version = "0.42"},
{ name = "windows_i686_msvc", version = "0.42"},
{ name = "windows_x86_64_gnu", version = "0.42"},
{ name = "windows_x86_64_gnullvm", version = "0.42"},
{ name = "windows_x86_64_msvc", version = "0.42"},
# Certain crates that we don't want multiple versions of in the dependency tree
deny = [
{ name = "ahash", deny-multiple-versions = true },
{ name = "android-activity", deny-multiple-versions = true },
{ name = "glam", deny-multiple-versions = true },
{ name = "raw-window-handle", deny-multiple-versions = true },
]

[sources]
Expand Down
Loading