feat: ethereum-specific receipt (#13295)

This commit is contained in:
Arsenii Kulikov
2024-12-11 21:13:23 +04:00
committed by GitHub
parent 61099cdd4d
commit 2df385a771
7 changed files with 287 additions and 4 deletions

View File

@ -12,7 +12,44 @@ description = "Ethereum primitive types"
workspace = true
[dependencies]
# reth
reth-codecs = { workspace = true, optional = true }
reth-primitives-traits.workspace = true
reth-zstd-compressors = { workspace = true, optional = true }
# ethereum
alloy-primitives.workspace = true
alloy-consensus.workspace = true
alloy-rlp.workspace = true
# misc
arbitrary = { workspace = true, optional = true, features = ["derive"] }
modular-bitfield = { workspace = true, optional = true }
serde.workspace = true
[dev-dependencies]
test-fuzz.workspace = true
[features]
default = ["std"]
std = []
std = [
"alloy-consensus/std",
"alloy-primitives/std",
"alloy-rlp/std",
"reth-primitives-traits/std",
"reth-zstd-compressors?/std",
"serde/std"
]
reth-codec = [
"std",
"dep:reth-codecs",
"dep:modular-bitfield",
"dep:reth-zstd-compressors",
]
arbitrary = [
"dep:arbitrary",
"alloy-consensus/arbitrary",
"alloy-primitives/arbitrary",
"reth-codecs?/arbitrary",
"reth-primitives-traits/arbitrary"
]