Skip to content

Commit

Permalink
chore: export cli from reth ethereum (paradigmxyz#14444)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored and frankudoags committed Feb 13, 2025
1 parent 4e2dddb commit bc105d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/ethereum/reth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ reth-exex = { workspace = true, optional = true }

# reth-ethereum
reth-ethereum-primitives.workspace = true
reth-ethereum-cli = { workspace = true, optional = true }
reth-ethereum-consensus = { workspace = true, optional = true }
reth-evm-ethereum = { workspace = true, optional = true }
reth-node-ethereum = { workspace = true, optional = true }
Expand Down Expand Up @@ -71,6 +72,7 @@ test-utils = [
full = ["consensus", "evm", "node", "provider", "rpc", "exex"]

alloy-compat = ["reth-ethereum-primitives/alloy-compat"]
cli = ["dep:reth-ethereum-cli"]
consensus = ["dep:reth-consensus", "dep:reth-consensus-common", "dep:reth-ethereum-consensus"]
evm = ["dep:reth-evm", "dep:reth-evm-ethereum"]
exex = ["provider", "dep:reth-exex"]
Expand Down
4 changes: 4 additions & 0 deletions crates/ethereum/reth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ pub mod primitives {
pub use reth_primitives_traits::*;
}

/// Re-exported cli types
#[cfg(feature = "cli")]
pub use reth_ethereum_cli as cli;

/// Re-exported consensus types
#[cfg(feature = "consensus")]
pub mod consensus {
Expand Down

0 comments on commit bc105d6

Please sign in to comment.