Skip to content

Commit

Permalink
Fix cargo-deny compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Andrej Orsula <[email protected]>
  • Loading branch information
AndrejOrsula committed Nov 20, 2024
1 parent eed47db commit 0194fd7
Showing 1 changed file with 17 additions and 24 deletions.
41 changes: 17 additions & 24 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,53 +1,46 @@
# `cargo deny` is only intended to run these targets for this project
[graph]
targets = [
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
]
all-features = true

# Considered when running `cargo deny check advisories`
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
notice = "deny"
unmaintained = "warn"
unsound = "deny"
vulnerability = "deny"
yanked = "deny"
ignore = []

# Considered when running `cargo deny check bans`
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
multiple-versions = "warn"
wildcards = "allow"
deny = []
skip = []
skip-tree = []

# Considered when running `cargo deny check licenses`
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
allow-osi-fsf-free = "neither"
copyleft = "deny"
unlicensed = "deny"
private = { ignore = true }
confidence-threshold = 0.925
confidence-threshold = 0.9
allow = [
"Apache-2.0 WITH LLVM-exception", # https://spdx.org/licenses/LLVM-exception.html
"Apache-2.0", # https://spdx.org/licenses/Apache-2.0.html
"BSD-3-Clause", # https://spdx.org/licenses/BSD-3-Clause.html
"ISC", # https://spdx.org/licenses/ISC.html
"MIT", # https://spdx.org/licenses/MIT.html
"MPL-2.0", # https://spdx.org/licenses/MPL-2.0.html
"Unicode-DFS-2016", # https://spdx.org/licenses/Unicode-DFS-2016.html
"Unicode-3.0", # https://spdx.org/licenses/Unicode-3.0.html
]
exceptions = []

# Considered when running `cargo deny check bans`
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
multiple-versions = "warn"
wildcards = "allow"
deny = []
skip = []
skip-tree = []
[[licenses.clarify]]
crate = "ring"
expression = "ISC"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]

# Considered when running `cargo deny check sources`
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
unknown-registry = "deny"
unknown-git = "deny"

[sources.allow-org]
github = ["AndrejOrsula"]

0 comments on commit 0194fd7

Please sign in to comment.