chore: enable unused deps check in reth-engine-tree (#9861)

This commit is contained in:
Federico Gimenez
2024-07-29 11:54:01 +02:00
committed by GitHub
parent f0975a5f02
commit 365809c079
3 changed files with 14 additions and 24 deletions

View File

@ -15,14 +15,12 @@ workspace = true
reth-beacon-consensus.workspace = true
reth-blockchain-tree.workspace = true
reth-blockchain-tree-api.workspace = true
reth-chainspec.workspace = true
reth-chain-state.workspace = true
reth-consensus.workspace = true
reth-db.workspace = true
reth-db-api.workspace = true
reth-engine-primitives.workspace = true
reth-errors.workspace = true
reth-ethereum-consensus.workspace = true
reth-evm.workspace = true
reth-network-p2p.workspace = true
reth-payload-builder.workspace = true
@ -31,50 +29,46 @@ reth-payload-validator.workspace = true
reth-primitives.workspace = true
reth-provider.workspace = true
reth-prune.workspace = true
reth-prune-types.workspace = true
reth-revm.workspace = true
reth-rpc-types.workspace = true
reth-stages-api.workspace = true
reth-stages-types.workspace = true
reth-static-file.workspace = true
reth-tasks.workspace = true
reth-tokio-util.workspace = true
reth-trie.workspace = true
revm.workspace = true
# common
futures.workspace = true
tokio = { workspace = true, features = ["macros", "sync"] }
tokio-stream = { workspace = true, features = ["sync"] }
# metrics
metrics.workspace = true
reth-metrics = { workspace = true, features = ["common"] }
# misc
aquamarine.workspace = true
parking_lot.workspace = true
tracing.workspace = true
# optional deps for test-utils
reth-chainspec = { workspace = true, optional = true }
reth-prune-types = { workspace = true, optional = true }
reth-stages = { workspace = true, optional = true }
reth-static-file = { workspace = true, optional = true }
reth-tracing = { workspace = true, optional = true }
rand = { workspace = true, optional = true }
[dev-dependencies]
# reth
reth-db = { workspace = true, features = ["test-utils"] }
reth-chainspec.workspace = true
reth-chain-state = { workspace = true, features = ["test-utils"] }
reth-ethereum-engine-primitives.workspace = true
reth-evm = { workspace = true, features = ["test-utils"] }
reth-exex-types.workspace = true
reth-network-p2p = { workspace = true, features = ["test-utils"] }
reth-prune.workspace = true
reth-prune-types.workspace = true
reth-stages = { workspace = true, features = ["test-utils"] }
reth-chain-state = { workspace = true, features = ["test-utils"] }
reth-tracing.workspace = true
reth-rpc-types-compat.workspace = true
reth-stages = { workspace = true, features = ["test-utils"] }
reth-static-file.workspace = true
reth-tracing.workspace = true
alloy-rlp.workspace = true
@ -84,9 +78,11 @@ rand.workspace = true
[features]
test-utils = [
"reth-db/test-utils",
"reth-network-p2p/test-utils",
"reth-stages/test-utils",
"reth-chain-state/test-utils",
"reth-chainspec",
"reth-network-p2p/test-utils",
"reth-prune-types",
"reth-stages/test-utils",
"reth-static-file",
"reth-tracing",
"rand"
]