diff --git a/Cargo.toml b/Cargo.toml index a308873d3fb1f..810d5c445e07e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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", default-features = false } +revm-primitives = { git = "https://github.com/bluealloy/revm", branch = "reth_freeze", default-features = false } # eth alloy-primitives = "0.4" diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 4a9cfcedc4ab0..be648161c2c8a 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -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, features = ["std"], default-features = false } +revm = { workspace = true, features = ["std"], default-features = false } # 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"