mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(reth-evm): no-default optional crate (#10694)
This commit is contained in:
@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user