mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make alloy impls feature gated (#7747)
This commit is contained in:
@ -13,15 +13,16 @@ workspace = true
|
||||
[dependencies]
|
||||
reth-codecs-derive = { path = "./derive", default-features = false }
|
||||
|
||||
alloy-eips.workspace = true
|
||||
alloy-eips = { workspace = true, optional = true }
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
bytes.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
alloy-eips = { workspace = true, features = ["arbitrary", "serde"] }
|
||||
alloy-eips = { workspace = true, default-features = false, features = ["arbitrary", "serde"] }
|
||||
alloy-primitives = { workspace = true, features = ["arbitrary", "serde"] }
|
||||
serde.workspace = true
|
||||
modular-bitfield = "0.11.2"
|
||||
modular-bitfield.workspace = true
|
||||
test-fuzz.workspace = true
|
||||
serde_json.workspace = true
|
||||
|
||||
@ -30,6 +31,7 @@ proptest.workspace = true
|
||||
proptest-derive.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = ["std", "alloy"]
|
||||
std = ["alloy-primitives/std", "bytes/std"]
|
||||
alloy = ["alloy-eips"]
|
||||
optimism = ["reth-codecs-derive/optimism"]
|
||||
|
||||
Reference in New Issue
Block a user