chore(reth-evm): no-default optional crate (#10694)

This commit is contained in:
nk_ysg
2024-09-05 01:20:10 +08:00
committed by GitHub
parent 304550cd23
commit 4fbfedb6e0

View File

@ -17,7 +17,7 @@ reth-execution-errors.workspace = true
reth-primitives.workspace = true
revm-primitives.workspace = true
reth-prune-types.workspace = true
reth-metrics.workspace = true
reth-metrics = { workspace = true, optional = true }
reth-storage-errors.workspace = true
reth-execution-types.workspace = true
@ -25,7 +25,7 @@ revm.workspace = true
alloy-eips.workspace = true
auto_impl.workspace = true
futures-util.workspace = true
metrics.workspace = true
metrics = { workspace = true, optional = true }
parking_lot = { workspace = true, optional = true }
[dev-dependencies]
@ -33,5 +33,5 @@ parking_lot.workspace = true
[features]
default = ["std"]
std = []
std = ["dep:metrics", "dep:reth-metrics"]
test-utils = ["dep:parking_lot"]