op_reth/
lib.rs

1//! Rust Optimism (op-reth) binary executable.
2//!
3//! ## Feature Flags
4//!
5//! - `jemalloc`: Uses [jemallocator](https://github.com/tikv/jemallocator) as the global allocator.
6//!   This is **not recommended on Windows**. See [here](https://rust-lang.github.io/rfcs/1974-global-allocators.html#jemalloc)
7//!   for more info.
8//! - `jemalloc-prof`: Enables [jemallocator's](https://github.com/tikv/jemallocator) heap profiling
9//!   and leak detection functionality. See [jemalloc's opt.prof](https://jemalloc.net/jemalloc.3.html#opt.prof)
10//!   documentation for usage details. This is **not recommended on Windows**. See [here](https://rust-lang.github.io/rfcs/1974-global-allocators.html#jemalloc)
11//!   for more info.
12//! - `asm-keccak`: replaces the default, pure-Rust implementation of Keccak256 with one implemented
13//!   in assembly; see [the `keccak-asm` crate](https://github.com/DaniPopes/keccak-asm) for more
14//!   details and supported targets
15//! - `min-error-logs`: Disables all logs below `error` level.
16//! - `min-warn-logs`: Disables all logs below `warn` level.
17//! - `min-info-logs`: Disables all logs below `info` level. This can speed up the node, since fewer
18//!   calls to the logging component are made.
19//! - `min-debug-logs`: Disables all logs below `debug` level.
20//! - `min-trace-logs`: Disables all logs below `trace` level.
21#![doc(
22    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
23    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
24    issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
25)]
26#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
27
28/// Re-exported from `reth_optimism_cli`.
29pub mod cli {
30    pub use reth_optimism_cli::*;
31}
32
33/// Re-exported from `reth_optimism_chainspec`.
34pub mod chainspec {
35    pub use reth_optimism_chainspec::*;
36}
37
38/// Re-exported from `reth_optimism_consensus`.
39pub mod consensus {
40    pub use reth_optimism_consensus::*;
41}
42
43/// Re-exported from `reth_optimism_evm`.
44pub mod evm {
45    pub use reth_optimism_evm::*;
46}
47
48/// Re-exported from `reth_optimism_forks`.
49pub mod forks {
50    pub use reth_optimism_forks::*;
51}
52
53/// Re-exported from `reth_optimism_node`.
54pub mod node {
55    pub use reth_optimism_node::*;
56}
57
58/// Re-exported from `reth_optimism_payload_builder`.
59pub mod payload {
60    pub use reth_optimism_payload_builder::*;
61}
62
63/// Re-exported from `reth_optimism_primitives`.
64pub mod primitives {
65    pub use reth_optimism_primitives::*;
66}
67
68/// Re-exported from `reth_optimism_rpc`.
69pub mod rpc {
70    pub use reth_optimism_rpc::*;
71}