chore: rm utils.rs from cli crate (#9132)

This commit is contained in:
Matthias Seitz
2024-06-27 12:04:36 +02:00
committed by GitHub
parent 16fc18bf5b
commit d3091cbb58
3 changed files with 10 additions and 12 deletions

View File

@ -32,7 +32,15 @@
pub mod cli;
pub mod commands;
mod macros;
pub mod utils;
/// Re-exported utils.
pub mod utils {
pub use reth_db::open_db_read_only;
/// Re-exported from `reth_node_core`, also to prevent a breaking change. See the comment
/// on the `reth_node_core::args` re-export for more details.
pub use reth_node_core::utils::*;
}
/// Re-exported payload related types
pub mod payload {

View File

@ -1,10 +0,0 @@
//! Common CLI utility functions.
/// Exposing `open_db_read_only` function
pub mod db {
pub use reth_db::open_db_read_only;
}
/// Re-exported from `reth_node_core`, also to prevent a breaking change. See the comment on
/// the `reth_node_core::args` re-export for more details.
pub use reth_node_core::utils::*;