ethrex-common 17.0.0

Core Ethereum data types and block validation for the ethrex Ethereum execution client
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ethrex-common"
version = "17.0.0"
authors = ["LambdaClass"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core Ethereum data types and block validation for the ethrex Ethereum execution client"
documentation = "https://docs.ethrex.xyz"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/lambdaclass/ethrex"
resolver = "2"

[features]
c-kzg = ["ethrex-crypto/c-kzg"]
default = [
    "secp256k1",
    "rayon",
]
eip-8025 = [
    "dep:libssz",
    "dep:libssz-types",
    "dep:libssz-merkle",
    "dep:libssz-derive",
    "ethrex-trie/eip-8025",
]
openvm = []
rayon = ["dep:rayon"]
risc0 = ["ethrex-crypto/risc0"]
secp256k1 = [
    "dep:secp256k1",
    "ethrex-crypto/secp256k1",
    "rayon",
]
sp1 = []
zisk = []

[lib]
name = "ethrex_common"
path = "common.rs"

[dependencies.bytes]
version = "1.6.0"
features = ["serde"]

[dependencies.crc32fast]
version = "1.4.2"

[dependencies.ethereum-types]
version = "0.15.1"
features = ["serialize"]

[dependencies.ethrex-crypto]
version = "17.0.0"
default-features = false

[dependencies.ethrex-rlp]
version = "17.0.0"

[dependencies.ethrex-trie]
version = "17.0.0"

[dependencies.hex]
version = "0.4.3"

[dependencies.hex-literal]
version = "0.4.1"

[dependencies.hex-simd]
version = "0.8.0"

[dependencies.indexmap]
version = "2.11.4"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.libc]
version = "0.2"

[dependencies.libssz]
version = "0.2.2"
optional = true

[dependencies.libssz-derive]
version = "0.2.2"
optional = true

[dependencies.libssz-merkle]
version = "0.2.2"
optional = true

[dependencies.libssz-types]
version = "0.2.2"
optional = true

[dependencies.lru]
version = "0.16.2"

[dependencies.once_cell]
version = "1.20.2"

[dependencies.rayon]
version = "1.10.0"
optional = true

[dependencies.rkyv]
version = "0.8.10"
features = [
    "std",
    "unaligned",
]

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.secp256k1]
version = "0.30.0"
features = [
    "global-context",
    "recovery",
    "rand",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.203"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.117"

[dependencies.sha2]
version = "0.10.9"

[dependencies.thiserror]
version = "2.0.9"

[dependencies.tracing]
version = "0.1"
features = ["log"]

[dev-dependencies.k256]
version = "0.13.4"

[lints.clippy]
redundant_clone = "warn"
unwrap_used = "deny"