Skip to content

Commit

Permalink
cargo-deny: Remove deprecated keys
Browse files Browse the repository at this point in the history
Signed-off-by: Andrej Orsula <[email protected]>
  • Loading branch information
AndrejOrsula committed Oct 29, 2024
1 parent 137e61a commit bd0d5da
Showing 1 changed file with 14 additions and 26 deletions.
40 changes: 14 additions & 26 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,62 +1,50 @@
# `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 = []
ignore = [{ id = "RUSTSEC-2024-0320" }]

# 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-2-Clause", # https://spdx.org/licenses/BSD-2-Clause.html
"BSD-3-Clause", # https://spdx.org/licenses/BSD-3-Clause.html
"ISC", # https://spdx.org/licenses/ISC.html
"LicenseRef-UFL-1.0", # https://spdx.org/licenses/LicenseRef-UFL-1.0.html
"MIT", # https://spdx.org/licenses/MIT.html
"MPL-2.0", # https://spdx.org/licenses/MPL-2.0.html
"OFL-1.1", # https://spdx.org/licenses/OFL-1.1.html
"Unicode-DFS-2016", # https://spdx.org/licenses/Unicode-DFS-2016.html
"Zlib", # https://spdx.org/licenses/Zlib.html
]
exceptions = []

[[licenses.clarify]]
crate = "ring"
expression = "ISC"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]

# 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 sources`
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
unknown-registry = "deny"
unknown-git = "deny"

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

0 comments on commit bd0d5da

Please sign in to comment.