reth_ethereum_forks/
lib.rs

1//! Ethereum fork types used in reth.
2//!
3//! This crate contains Ethereum fork types and helper functions.
4//!
5//! ## Feature Flags
6//!
7//! - `arbitrary`: Adds `arbitrary` support for primitive types.
8
9#![doc(
10    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
11    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
12    issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
13)]
14#![cfg_attr(not(test), warn(unused_crate_dependencies))]
15#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
16#![cfg_attr(not(feature = "std"), no_std)]
17
18extern crate alloc;
19
20/// Re-exported EIP-2124 forkid types.
21pub use alloy_eip2124::*;
22
23mod display;
24mod hardforks;
25
26pub use alloy_hardforks::*;
27
28pub use display::DisplayHardforks;
29pub use hardforks::*;
30
31#[cfg(any(test, feature = "arbitrary"))]
32pub use arbitrary;