chore(deps): make c-kzg actually a feature of reth-primitives (#5525)

This commit is contained in:
Matthias Seitz
2023-11-22 02:24:24 +01:00
committed by GitHub
parent e5b33dbe74
commit 857ceebbd8
2 changed files with 6 additions and 7 deletions

View File

@@ -135,8 +135,8 @@ reth-transaction-pool = { path = "crates/transaction-pool" }
reth-trie = { path = "crates/trie" }
# revm
revm = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze" }
revm-primitives = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze" }
revm = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze", features = ["std", "secp256k1"], default-features = false }
revm-primitives = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze", features = ["std"], default-features = false }
# eth
alloy-primitives = "0.4"

View File

@@ -12,7 +12,8 @@ description = "Commonly used types in reth."
# reth
reth-codecs.workspace = true
reth-rpc-types.workspace = true
revm-primitives = { workspace = true, features = ["serde"] }
revm-primitives.workspace = true
revm.workspace = true
# ethereum
alloy-primitives = { workspace = true, features = ["rand", "rlp"] }
@@ -61,8 +62,6 @@ proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
strum = { workspace = true, features = ["derive"] }
revm.workspace = true
[dev-dependencies]
serde_json.workspace = true
test-fuzz = "4"
@@ -87,10 +86,10 @@ pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterio
[features]
default = ["c-kzg"]
arbitrary = ["revm-primitives/arbitrary", "reth-rpc-types/arbitrary", "dep:arbitrary", "dep:proptest", "dep:proptest-derive"]
c-kzg = ["revm-primitives/c-kzg", "dep:c-kzg"]
test-utils = ["dep:plain_hasher", "dep:hash-db", "dep:ethers-core"]
c-kzg = ["dep:c-kzg", "revm/c-kzg", "revm-primitives/c-kzg"]
clap = ["dep:clap"]
optimism = ["reth-codecs/optimism", "revm-primitives/optimism", "revm/optimism"]
test-utils = ["dep:plain_hasher", "dep:hash-db", "dep:ethers-core"]
[[bench]]
name = "recover_ecdsa_crit"