Skip to content

Commit

Permalink
chore: update cargo deny to handle deprecated config entries (#6980)
Browse files Browse the repository at this point in the history
Co-authored-by: DaniPopes <[email protected]>
  • Loading branch information
TomAFrench and DaniPopes committed Mar 6, 2024
1 parent ff91824 commit e41b184
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
vulnerability = "deny"
unmaintained = "warn"
unsound = "warn"
version = 2
yanked = "warn"
notice = "warn"

# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
Expand All @@ -28,9 +25,8 @@ skip = []
skip-tree = []

[licenses]
unlicensed = "deny"
version = 2
confidence-threshold = 0.8
# copyleft = "deny"

# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
Expand All @@ -48,8 +44,6 @@ allow = [
"Unicode-3.0",
# https://github.com/briansmith/ring/issues/902
"LicenseRef-ring",
# https://github.com/briansmith/webpki/issues/148
"LicenseRef-webpki",
# https://github.com/rustls/webpki/blob/main/LICENSE ISC Style
"LicenseRef-rustls-webpki",
]
Expand All @@ -65,18 +59,18 @@ exceptions = [
{ allow = ["CC0-1.0"], name = "tiny-keccak" },
{ allow = ["CC0-1.0"], name = "more-asserts" },
{ allow = ["CC0-1.0"], name = "aurora-engine-modexp" },
# TODO: decide on MPL-2.0 handling
# These dependencies are grandfathered in in https://github.com/paradigmxyz/reth/pull/6980
{ allow = ["MPL-2.0"], name = "attohttpc" },
{ allow = ["MPL-2.0"], name = "option-ext" },
{ allow = ["MPL-2.0"], name = "webpki-roots" },
]

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

[[licenses.clarify]]
name = "webpki"
expression = "LicenseRef-webpki"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]

[[licenses.clarify]]
name = "rustls-webpki"
expression = "LicenseRef-rustls-webpki"
Expand Down

0 comments on commit e41b184

Please sign in to comment.