reth_storage_api/
lib.rs

1//! Collection of traits and types for common storage access.
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(not(test), warn(unused_crate_dependencies))]
9#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
10#![cfg_attr(not(feature = "std"), no_std)]
11
12extern crate alloc;
13
14// Re-export used error types.
15pub use reth_storage_errors as errors;
16mod account;
17pub use account::*;
18
19mod block;
20pub use block::*;
21
22mod block_id;
23pub use block_id::*;
24
25mod block_hash;
26pub use block_hash::*;
27
28#[cfg(feature = "db-api")]
29mod chain;
30#[cfg(feature = "db-api")]
31pub use chain::*;
32
33mod header;
34pub use header::*;
35
36mod prune_checkpoint;
37pub use prune_checkpoint::*;
38
39mod receipts;
40pub use receipts::*;
41
42mod stage_checkpoint;
43pub use stage_checkpoint::*;
44
45mod state;
46pub use state::*;
47
48mod storage;
49pub use storage::*;
50
51mod transactions;
52pub use transactions::*;
53
54mod trie;
55pub use trie::*;
56
57mod chain_info;
58pub use chain_info::*;
59
60mod withdrawals;
61pub use withdrawals::*;
62
63mod ommers;
64pub use ommers::*;
65
66#[cfg(feature = "db-api")]
67mod database_provider;
68#[cfg(feature = "db-api")]
69pub use database_provider::*;
70
71pub mod noop;
72
73#[cfg(feature = "db-api")]
74mod history;
75#[cfg(feature = "db-api")]
76pub use history::*;
77
78#[cfg(feature = "db-api")]
79mod hashing;
80#[cfg(feature = "db-api")]
81pub use hashing::*;
82
83#[cfg(feature = "db-api")]
84mod stats;
85#[cfg(feature = "db-api")]
86pub use stats::*;
87
88mod legacy;
89pub use legacy::*;
90
91mod primitives;
92pub use primitives::*;
93
94mod block_indices;
95pub use block_indices::*;
96
97mod block_writer;
98pub use block_writer::*;