Skip to content

Commit

Permalink
fix: deny
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jan 9, 2024
1 parent 59cbde0 commit 31a9593
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "reth-revm-inspectors"
name = "revm-inspectors"
description = "Revm inspector implementations"
version = "0.1.0"
edition = "2021"
Expand Down
23 changes: 19 additions & 4 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ notice = "warn"

[bans]
multiple-versions = "warn"
wildcards = "deny"
wildcards = "allow"
highlight = "all"
deny = [{ name = "openssl" }]
skip = []
skip-tree = []

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

allow = [
Expand All @@ -25,18 +28,23 @@ allow = [
"ISC",
"Unicode-DFS-2016",
"Unlicense",
"MPL-2.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",
]

exceptions = [
# CC0 is a permissive license but somewhat unclear status for source code
# so we prefer to not have dependencies using it
# https://tldrlegal.com/license/creative-commons-cc0-1.0-universal
{ allow = ["CC0-1.0"], name = "secp256k1" },
{ allow = ["CC0-1.0"], name = "secp256k1-sys" },
{ allow = ["CC0-1.0"], name = "tiny-keccak" },
{ allow = ["CC0-1.0"], name = "more-asserts" },
{ allow = ["CC0-1.0"], name = "aurora-engine-modexp" },
]

[[licenses.clarify]]
Expand All @@ -49,6 +57,13 @@ name = "webpki"
expression = "LicenseRef-webpki"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]

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

[sources]
unknown-registry = "deny"
unknown-registry = "warn"
unknown-git = "deny"
# TODO: remove, see ./Cargo.toml
allow-git = ["https://github.com/alloy-rs/alloy", "https://github.com/bluealloy/revm"]

0 comments on commit 31a9593

Please sign in to comment.