Skip to content

Commit

Permalink
reth-primitives: Fix warnings when default features are off. (#7213)
Browse files Browse the repository at this point in the history
  • Loading branch information
citizen-stig committed Mar 19, 2024
1 parent c108a24 commit 78d15d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/primitives/Cargo.toml
Expand Up @@ -44,8 +44,8 @@ once_cell.workspace = true
rayon.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2 = "0.10.7"
tempfile.workspace = true
sha2 = { version = "0.10.7", optional = true }
tempfile = { workspace = true, optional = true }
thiserror.workspace = true
zstd = { version = "0.12", features = ["experimental"] }
roaring = "0.10.2"
Expand Down Expand Up @@ -101,7 +101,7 @@ arbitrary = [
"dep:proptest",
"dep:proptest-derive",
]
c-kzg = ["dep:c-kzg", "revm/c-kzg", "revm-primitives/c-kzg"]
c-kzg = ["dep:c-kzg", "revm/c-kzg", "revm-primitives/c-kzg", "dep:sha2", "dep:tempfile"]
clap = ["dep:clap"]
optimism = [
"reth-codecs/optimism",
Expand All @@ -117,7 +117,7 @@ harness = false

[[bench]]
name = "validate_blob_tx"
required-features = ["arbitrary"]
required-features = ["arbitrary", "c-kzg"]
harness = false

[[bench]]
Expand Down

0 comments on commit 78d15d4

Please sign in to comment.