reth_rpc_engine_api/lib.rs
1//! The implementation of Engine API.
2//! [Read more](https://github.com/ethereum/execution-apis/tree/main/src/engine).
3
4#![doc(
5 html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
6 html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
7 issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issues/"
8)]
9#![cfg_attr(not(test), warn(unused_crate_dependencies))]
10#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
11
12/// The Engine API implementation.
13mod engine_api;
14
15/// Engine API capabilities.
16pub mod capabilities;
17
18/// Engine API error.
19mod error;
20
21/// Engine API metrics.
22mod metrics;
23
24pub use engine_api::{EngineApi, EngineApiSender};
25pub use error::*;
26
27// re-export server trait for convenience
28pub use reth_rpc_api::EngineApiServer;
29
30#[cfg(test)]
31#[allow(unused_imports)]
32mod tests {
33 // silence unused import warning
34 use alloy_rlp as _;
35}