reth-codec: remove unused derives from alloy compat types (#11231)

This commit is contained in:
nk_ysg
2024-09-26 15:02:10 +08:00
committed by GitHub
parent 35034065da
commit ece0944070
12 changed files with 28 additions and 39 deletions

View File

@ -27,7 +27,6 @@ op-alloy-consensus = { workspace = true, optional = true }
# misc
bytes.workspace = true
modular-bitfield = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
[dev-dependencies]
alloy-eips = { workspace = true, default-features = false, features = [
@ -48,17 +47,17 @@ serde_json.workspace = true
arbitrary = { workspace = true, features = ["derive"] }
proptest.workspace = true
proptest-arbitrary-interop.workspace = true
serde.workspace = true
[features]
default = ["std", "alloy"]
std = ["alloy-primitives/std", "bytes/std", "serde?/std"]
std = ["alloy-primitives/std", "bytes/std"]
alloy = [
"dep:alloy-consensus",
"dep:alloy-eips",
"dep:alloy-genesis",
"dep:modular-bitfield",
"dep:alloy-trie",
"dep:serde"
]
optimism = ["alloy", "dep:op-alloy-consensus"]
test-utils = []