reth_seismic/
lib.rs

1//! Seismic meta crate that provides access to commonly used reth dependencies.
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#![allow(unused_crate_dependencies)]
12
13/// Re-exported ethereum types
14#[doc(inline)]
15pub use reth_seismic_primitives::*;
16
17/// Re-exported reth primitives
18pub mod primitives {
19    #[doc(inline)]
20    pub use reth_primitives_traits::*;
21}
22
23/// Re-exported cli types
24#[cfg(feature = "cli")]
25pub use reth_seismic_cli as cli;
26
27/// Re-exported from `reth_chainspec`
28pub mod chainspec {
29    #[doc(inline)]
30    pub use reth_chainspec::*;
31}
32
33/// Re-exported evm types
34#[cfg(feature = "evm")]
35pub mod evm {
36    #[doc(inline)]
37    pub use reth_seismic_evm::*;
38
39    #[doc(inline)]
40    pub use reth_evm as primitives;
41}
42
43/// Re-exported reth network types
44#[cfg(feature = "network")]
45pub mod network {
46    #[doc(inline)]
47    pub use reth_network::*;
48}
49
50/// Re-exported reth provider types
51#[cfg(feature = "provider")]
52pub mod provider {
53    #[doc(inline)]
54    pub use reth_provider::*;
55
56    #[doc(inline)]
57    pub use reth_db as db;
58}
59
60/// Re-exported reth storage api types
61#[cfg(feature = "storage-api")]
62pub mod storage {
63    #[doc(inline)]
64    pub use reth_storage_api::*;
65}
66
67/// Re-exported ethereum node
68#[cfg(feature = "node-api")]
69pub mod node {
70    #[doc(inline)]
71    pub use reth_node_api as api;
72    #[cfg(feature = "node")]
73    pub use reth_seismic_node::*;
74}
75
76/// Re-exported reth trie types
77#[cfg(feature = "trie")]
78pub mod trie {
79    #[doc(inline)]
80    pub use reth_trie::*;
81}
82
83/// Re-exported rpc types
84#[cfg(feature = "rpc")]
85pub mod rpc {
86    #[doc(inline)]
87    pub use reth_rpc::*;
88    #[doc(inline)]
89    pub use reth_seismic_rpc::*;
90
91    #[doc(inline)]
92    pub use reth_rpc_api as api;
93    #[doc(inline)]
94    pub use reth_rpc_builder as builder;
95    #[doc(inline)]
96    pub use reth_rpc_eth_types as eth;
97}