forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlib.rs
35 lines (26 loc) · 1.05 KB
/
lib.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//! Revm utils and implementations specific to reth.
#![doc(
html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;
pub mod batch;
/// Cache database that reads from an underlying [`DatabaseRef`].
/// Database adapters for payload building.
pub mod cached;
/// Contains glue code for integrating reth database into revm's [Database].
pub mod database;
/// Common test helpers
#[cfg(any(test, feature = "test-utils"))]
pub mod test_utils;
// Convenience re-exports.
pub use revm::{self, *};
/// Either type for flexible usage of different database types in the same context.
pub mod either;
/// Helper types for execution witness generation.
#[cfg(feature = "witness")]
pub mod witness;