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

(IGNORE) Update deny.toml for recent updates to cargo-deny #204

Merged
merged 1 commit into from
Mar 29, 2024
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
37 changes: 13 additions & 24 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,41 @@
# For further details on all configuration options see:
# https://embarkstudios.github.io/cargo-deny/checks/cfg.html

[graph]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
{ triple = "aarch64-apple-darwin" },
]

# Deny all advisories unless explicitly ignored.
[advisories]
vulnerability = "allow" # "deny" # TODO: Re-enable when possible.
unmaintained = "allow" # "deny" # TODO: Re-enable when possible.
yanked = "allow" # "deny" # TODO: Re-enable when possible.
notice = "allow" # "deny" # TODO: Re-enable when possible.
version = 2

# Deny multiple versions unless explicitly skipped.
[bans]
multiple-versions = "allow" # "deny" # TODO: Re-enable when possible.
wildcards = "allow"
multiple-versions = "deny"
wildcards = "deny"

# List of allowed licenses.
[licenses]
version = 2
allow = [
"Apache-2.0",
"BSD-2-Clause",
# "BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"ISC",
"LicenseRef-ring",
# "CC0-1.0",
# "ISC",
"MIT",
"MPL-2.0",
# "MPL-2.0",
"Unicode-DFS-2016",
"Zlib",
# "Zlib",
]
copyleft = "deny"
unlicensed = "deny"
confidence-threshold = 0.8
confidence-threshold = 0.9

[[licenses.clarify]]
name = "ring"
expression = "LicenseRef-ring"
license-files = [
{ path = "LICENSE", hash = 3171872035 }
]
expression = "ISC AND MIT AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]

[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
Loading