reth_rpc_server_types/lib.rs
1//! Reth RPC server types.
2
3#![doc(
4 html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
5 html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
6 issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
7)]
8#![cfg_attr(docsrs, feature(doc_cfg))]
9#![cfg_attr(not(test), warn(unused_crate_dependencies))]
10
11/// Common RPC constants.
12pub mod constants;
13pub mod result;
14
15mod module;
16pub use module::{
17 DefaultRpcModuleValidator, LenientRpcModuleValidator, RethRpcModule, RpcModuleSelection,
18 RpcModuleValidator,
19};
20
21pub use result::ToRpcResult;