mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm utils.rs from cli crate (#9132)
This commit is contained in:
@ -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 {
|
||||
|
||||
@ -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::*;
|
||||
Reference in New Issue
Block a user