mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: introduce ethereum-primitives crate (#13185)
This commit is contained in:
1
.github/assets/check_rv32imac.sh
vendored
1
.github/assets/check_rv32imac.sh
vendored
@ -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
4
Cargo.lock
generated
@ -7568,6 +7568,10 @@ dependencies = [
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "reth-ethereum-primitives"
|
||||
version = "1.1.2"
|
||||
|
||||
[[package]]
|
||||
name = "reth-etl"
|
||||
version = "1.1.2"
|
||||
|
||||
@ -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" }
|
||||
|
||||
18
crates/ethereum/primitives/Cargo.toml
Normal file
18
crates/ethereum/primitives/Cargo.toml
Normal 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 = []
|
||||
10
crates/ethereum/primitives/src/lib.rs
Normal file
10
crates/ethereum/primitives/src/lib.rs
Normal 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)]
|
||||
Reference in New Issue
Block a user