mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-19 03:04:27 -05:00
chore: introduce engine module (#17591)
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -8179,6 +8179,7 @@ dependencies = [
|
||||
"reth-consensus",
|
||||
"reth-consensus-common",
|
||||
"reth-db",
|
||||
"reth-engine-local",
|
||||
"reth-eth-wire",
|
||||
"reth-ethereum-cli",
|
||||
"reth-ethereum-consensus",
|
||||
@@ -9066,6 +9067,7 @@ dependencies = [
|
||||
"reth-consensus",
|
||||
"reth-consensus-common",
|
||||
"reth-db",
|
||||
"reth-engine-local",
|
||||
"reth-eth-wire",
|
||||
"reth-evm",
|
||||
"reth-exex",
|
||||
|
||||
@@ -38,6 +38,7 @@ reth-trie-db = { workspace = true, optional = true }
|
||||
reth-node-builder = { workspace = true, optional = true }
|
||||
reth-tasks = { workspace = true, optional = true }
|
||||
reth-cli-util = { workspace = true, optional = true }
|
||||
reth-engine-local = { workspace = true, optional = true }
|
||||
|
||||
# reth-ethereum
|
||||
reth-ethereum-primitives.workspace = true
|
||||
@@ -126,6 +127,7 @@ node = [
|
||||
"node-api",
|
||||
"dep:reth-node-ethereum",
|
||||
"dep:reth-node-builder",
|
||||
"dep:reth-engine-local",
|
||||
"rpc",
|
||||
"trie-db",
|
||||
]
|
||||
|
||||
@@ -115,6 +115,15 @@ pub mod node {
|
||||
pub use reth_node_ethereum::*;
|
||||
}
|
||||
|
||||
/// Re-exported ethereum engine types
|
||||
#[cfg(feature = "node")]
|
||||
pub mod engine {
|
||||
#[doc(inline)]
|
||||
pub use reth_engine_local as local;
|
||||
#[doc(inline)]
|
||||
pub use reth_node_ethereum::engine::*;
|
||||
}
|
||||
|
||||
/// Re-exported reth trie types
|
||||
#[cfg(feature = "trie")]
|
||||
pub mod trie {
|
||||
|
||||
@@ -38,6 +38,7 @@ reth-trie-db = { workspace = true, optional = true }
|
||||
reth-node-builder = { workspace = true, optional = true }
|
||||
reth-tasks = { workspace = true, optional = true }
|
||||
reth-cli-util = { workspace = true, optional = true }
|
||||
reth-engine-local = { workspace = true, optional = true }
|
||||
|
||||
# reth-op
|
||||
reth-optimism-primitives.workspace = true
|
||||
@@ -110,6 +111,7 @@ node = [
|
||||
"node-api",
|
||||
"dep:reth-optimism-node",
|
||||
"dep:reth-node-builder",
|
||||
"dep:reth-engine-local",
|
||||
"rpc",
|
||||
"trie-db",
|
||||
]
|
||||
|
||||
@@ -111,7 +111,7 @@ pub mod storage {
|
||||
pub use reth_storage_api::*;
|
||||
}
|
||||
|
||||
/// Re-exported ethereum node
|
||||
/// Re-exported optimism node
|
||||
#[cfg(feature = "node-api")]
|
||||
pub mod node {
|
||||
#[doc(inline)]
|
||||
@@ -124,6 +124,15 @@ pub mod node {
|
||||
pub use reth_optimism_node::*;
|
||||
}
|
||||
|
||||
/// Re-exported engine types
|
||||
#[cfg(feature = "node")]
|
||||
pub mod engine {
|
||||
#[doc(inline)]
|
||||
pub use reth_engine_local as local;
|
||||
#[doc(inline)]
|
||||
pub use reth_optimism_node::engine::*;
|
||||
}
|
||||
|
||||
/// Re-exported reth trie types
|
||||
#[cfg(feature = "trie")]
|
||||
pub mod trie {
|
||||
|
||||
Reference in New Issue
Block a user