mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
28 lines
846 B
Rust
28 lines
846 B
Rust
//! Standalone crate for ethereum-specific Reth primitive types.
|
|
|
|
#![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(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
|
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
extern crate alloc;
|
|
|
|
mod receipt;
|
|
pub use receipt::*;
|
|
|
|
mod transaction;
|
|
pub use transaction::*;
|
|
|
|
#[cfg(feature = "alloy-compat")]
|
|
mod alloy_compat;
|
|
|
|
/// Type alias for the ethereum block
|
|
pub type Block = alloy_consensus::Block<TransactionSigned>;
|
|
|
|
/// Type alias for the ethereum blockbody
|
|
pub type BlockBody = alloy_consensus::BlockBody<TransactionSigned>;
|