mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-30 01:28:21 -05:00
36 lines
706 B
Rust
36 lines
706 B
Rust
#![warn(missing_docs, unreachable_pub)]
|
|
#![deny(unused_must_use, rust_2018_idioms)]
|
|
#![doc(test(
|
|
no_crate_inject,
|
|
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
|
|
))]
|
|
|
|
//! Reth interface bindings
|
|
|
|
/// Block Execution traits.
|
|
pub mod executor;
|
|
|
|
/// Consensus traits.
|
|
pub mod consensus;
|
|
|
|
/// Provider error
|
|
pub mod provider;
|
|
|
|
/// Database error
|
|
pub mod db;
|
|
|
|
/// P2P traits.
|
|
pub mod p2p;
|
|
|
|
/// Syncing related traits.
|
|
pub mod sync;
|
|
|
|
/// Possible errors when interacting with the chain.
|
|
mod error;
|
|
|
|
pub use error::{Error, Result};
|
|
|
|
#[cfg(any(test, feature = "test-utils"))]
|
|
/// Common test helpers for mocking out Consensus, Downloaders and Header Clients.
|
|
pub mod test_utils;
|