Skip to content

Commit

Permalink
Fix cargo deny warnings and errors (#2332)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamyGolden authored Sep 23, 2024
1 parent 40940d2 commit 9489d71
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# https://embarkstudios.github.io/cargo-deny/

[graph]
targets = [
{ triple = "aarch64-apple-darwin" },
{ triple = "aarch64-linux-android" },
Expand All @@ -10,9 +11,21 @@ targets = [
]


[licenses]
confidence-threshold = 0.93
allow = [
"Apache-2.0 WITH LLVM-exception",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"MIT",
"MIT-0",
"MPL-2.0",
"Unicode-DFS-2016",
]


[advisories]
vulnerability = "deny"
unmaintained = "warn"
yanked = "deny"
ignore = []

Expand All @@ -22,17 +35,7 @@ multiple-versions = "deny"
wildcards = "allow" # at least until https://github.com/EmbarkStudios/cargo-deny/issues/241 is fixed
deny = []
skip = [
{ name = "num-derive" } # ravif transatively depends on 0.3 and 0.4.
{ name = "bitflags" }, # Some deps depend on 1.3.2 while others on 2.6.0
{ name = "hashbrown" }, # Some deps depend on 0.13.2 while others on 0.14.5
{ name = "miniz_oxide" } # Some deps depend on 0.7.4 while others on 0.8.0
]
skip-tree = [
{ name = "criterion" }, # dev-dependency
{ name = "quickcheck" }, # dev-dependency
{ name = "dav1d" }, # TODO: needs upgrade
{ name = "clap" },
]


[licenses]
unlicensed = "allow"
allow-osi-fsf-free = "either"
copyleft = "allow"

0 comments on commit 9489d71

Please sign in to comment.