chore: re-export node-builder as builder (#16363)

This commit is contained in:
Matthias Seitz
2025-05-20 13:48:49 +02:00
committed by GitHub
parent d849731aaf
commit 2db8ccf62f
5 changed files with 12 additions and 0 deletions

2
Cargo.lock generated
View File

@@ -8002,6 +8002,7 @@ dependencies = [
"reth-network",
"reth-network-api",
"reth-node-api",
"reth-node-builder",
"reth-node-core",
"reth-node-ethereum",
"reth-primitives-traits",
@@ -8887,6 +8888,7 @@ dependencies = [
"reth-network",
"reth-network-api",
"reth-node-api",
"reth-node-builder",
"reth-node-core",
"reth-optimism-chainspec",
"reth-optimism-cli",

View File

@@ -33,6 +33,7 @@ reth-rpc-eth-types = { workspace = true, optional = true }
reth-rpc-builder = { workspace = true, optional = true }
reth-exex = { workspace = true, optional = true }
reth-trie = { workspace = true, optional = true }
reth-node-builder = { workspace = true, optional = true }
# reth-ethereum
reth-ethereum-primitives.workspace = true
@@ -84,6 +85,7 @@ test-utils = [
"reth-trie?/test-utils",
"reth-transaction-pool?/test-utils",
"reth-evm-ethereum?/test-utils",
"reth-node-builder?/test-utils",
]
full = [
@@ -113,6 +115,7 @@ node = [
"evm",
"node-api",
"dep:reth-node-ethereum",
"dep:reth-node-builder",
"rpc",
"trie",
]

View File

@@ -92,6 +92,8 @@ pub mod storage {
pub mod node {
#[doc(inline)]
pub use reth_node_api as api;
#[cfg(feature = "node")]
pub use reth_node_builder as builder;
#[doc(inline)]
pub use reth_node_core as core;
#[cfg(feature = "node")]

View File

@@ -32,6 +32,7 @@ reth-rpc-eth-types = { workspace = true, optional = true }
reth-rpc-builder = { workspace = true, optional = true }
reth-transaction-pool = { workspace = true, optional = true }
reth-trie = { workspace = true, optional = true }
reth-node-builder = { workspace = true, optional = true }
# reth-op
reth-optimism-primitives.workspace = true
@@ -79,6 +80,7 @@ test-utils = [
"reth-provider?/test-utils",
"reth-trie?/test-utils",
"reth-transaction-pool?/test-utils",
"reth-node-builder?/test-utils",
]
full = ["consensus", "evm", "node", "provider", "rpc", "trie", "pool", "network"]
@@ -98,6 +100,7 @@ node = [
"evm",
"node-api",
"dep:reth-optimism-node",
"dep:reth-node-builder",
"rpc",
"trie",
]

View File

@@ -96,6 +96,8 @@ pub mod storage {
pub mod node {
#[doc(inline)]
pub use reth_node_api as api;
#[cfg(feature = "node")]
pub use reth_node_builder as builder;
#[doc(inline)]
pub use reth_node_core as core;
#[cfg(feature = "node")]