chore: introduce ethereum-primitives crate (#13185)

This commit is contained in:
Matthias Seitz
2024-12-06 19:28:27 +01:00
committed by GitHub
parent c9c6eb5aaa
commit 55f931d0b9
5 changed files with 35 additions and 0 deletions

View File

@ -5,6 +5,7 @@ set +e # Disable immediate exit on error
crates_to_check=(
reth-codecs-derive
reth-ethereum-forks
reth-ethereum-primitives
reth-primitives-traits
reth-optimism-forks
# reth-evm

4
Cargo.lock generated
View File

@ -7568,6 +7568,10 @@ dependencies = [
"tracing",
]
[[package]]
name = "reth-ethereum-primitives"
version = "1.1.2"
[[package]]
name = "reth-etl"
version = "1.1.2"

View File

@ -39,6 +39,7 @@ members = [
"crates/ethereum/evm",
"crates/ethereum/node",
"crates/ethereum/payload/",
"crates/ethereum/primitives/",
"crates/etl/",
"crates/evm/",
"crates/evm/execution-errors",
@ -341,6 +342,7 @@ reth-ethereum-consensus = { path = "crates/ethereum/consensus" }
reth-ethereum-engine-primitives = { path = "crates/ethereum/engine-primitives" }
reth-ethereum-forks = { path = "crates/ethereum-forks", default-features = false }
reth-ethereum-payload-builder = { path = "crates/ethereum/payload" }
reth-ethereum-primitives = { path = "crates/ethereum/primitives", default-features = false }
reth-etl = { path = "crates/etl" }
reth-evm = { path = "crates/evm" }
reth-evm-ethereum = { path = "crates/ethereum/evm" }

View File

@ -0,0 +1,18 @@
[package]
name = "reth-ethereum-primitives"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Ethereum primitive types"
[lints]
workspace = true
[dependencies]
[features]
default = ["std"]
std = []

View File

@ -0,0 +1,10 @@
//! 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)]