chore: remove unused deps (#11898)

This commit is contained in:
Hai | RISE
2024-10-19 23:54:07 +07:00
committed by GitHub
parent f8969cbbc2
commit e2ecb6224d
27 changed files with 23 additions and 141 deletions

52
Cargo.lock generated
View File

@ -2881,8 +2881,6 @@ dependencies = [
"reth-network",
"reth-network-api",
"reth-node-ethereum",
"reth-primitives",
"reth-provider",
"tokio",
"tokio-stream",
"tracing",
@ -2972,7 +2970,6 @@ dependencies = [
"reth-discv4",
"reth-network",
"reth-primitives",
"reth-provider",
"reth-tracing",
"secp256k1",
"serde_json",
@ -6312,7 +6309,6 @@ dependencies = [
"reth-consensus-common",
"reth-db",
"reth-db-api",
"reth-discv4",
"reth-downloaders",
"reth-engine-util",
"reth-errors",
@ -6708,7 +6704,6 @@ dependencies = [
"alloy-eips",
"alloy-genesis",
"alloy-primitives",
"alloy-rlp",
"alloy-trie",
"arbitrary",
"bytes",
@ -6716,7 +6711,6 @@ dependencies = [
"op-alloy-consensus",
"proptest",
"proptest-arbitrary-interop",
"rand 0.8.5",
"reth-codecs-derive",
"serde",
"serde_json",
@ -6817,7 +6811,6 @@ dependencies = [
"paste",
"pprof",
"proptest",
"rand 0.8.5",
"reth-db-api",
"reth-fs-util",
"reth-libmdbx",
@ -7041,22 +7034,16 @@ dependencies = [
"eyre",
"futures-util",
"jsonrpsee",
"jsonrpsee-types",
"op-alloy-rpc-types-engine",
"reth",
"reth-chainspec",
"reth-db",
"reth-engine-local",
"reth-network-peers",
"reth-node-builder",
"reth-node-ethereum",
"reth-payload-builder",
"reth-payload-primitives",
"reth-primitives",
"reth-provider",
"reth-rpc",
"reth-rpc-layer",
"reth-rpc-types-compat",
"reth-stages-types",
"reth-tokio-util",
"reth-tracing",
@ -7177,7 +7164,6 @@ dependencies = [
"assert_matches",
"futures",
"metrics",
"rand 0.8.5",
"reth-beacon-consensus",
"reth-blockchain-tree",
"reth-blockchain-tree-api",
@ -7515,7 +7501,6 @@ dependencies = [
"reth-chain-state",
"reth-chainspec",
"reth-config",
"reth-db-api",
"reth-db-common",
"reth-evm",
"reth-evm-ethereum",
@ -7984,7 +7969,6 @@ dependencies = [
"serde",
"shellexpand",
"strum",
"tempfile",
"thiserror",
"tokio",
"toml",
@ -8001,7 +7985,6 @@ dependencies = [
"alloy-primitives",
"eyre",
"futures",
"futures-util",
"reth",
"reth-auto-seal-consensus",
"reth-basic-payload-builder",
@ -8017,7 +8000,6 @@ dependencies = [
"reth-network",
"reth-node-api",
"reth-node-builder",
"reth-node-core",
"reth-payload-builder",
"reth-primitives",
"reth-provider",
@ -8066,7 +8048,6 @@ dependencies = [
"metrics-util",
"procfs 0.16.0",
"reqwest",
"reth-chainspec",
"reth-db-api",
"reth-metrics",
"reth-provider",
@ -8215,15 +8196,11 @@ dependencies = [
"alloy-genesis",
"alloy-primitives",
"alloy-rpc-types-engine",
"async-trait",
"clap",
"eyre",
"jsonrpsee",
"jsonrpsee-types",
"op-alloy-consensus",
"op-alloy-rpc-types-engine",
"parking_lot 0.12.3",
"reqwest",
"reth",
"reth-auto-seal-consensus",
"reth-basic-payload-builder",
@ -8231,7 +8208,6 @@ dependencies = [
"reth-chainspec",
"reth-consensus",
"reth-db",
"reth-discv5",
"reth-e2e-test-utils",
"reth-engine-local",
"reth-evm",
@ -8248,18 +8224,12 @@ dependencies = [
"reth-primitives",
"reth-provider",
"reth-revm",
"reth-rpc",
"reth-rpc-eth-api",
"reth-rpc-eth-types",
"reth-rpc-types-compat",
"reth-tracing",
"reth-transaction-pool",
"revm",
"serde",
"serde_json",
"thiserror",
"tokio",
"tracing",
]
[[package]]
@ -8303,7 +8273,6 @@ dependencies = [
"alloy-consensus",
"alloy-primitives",
"reth-primitives",
"reth-primitives-traits",
]
[[package]]
@ -8688,7 +8657,6 @@ dependencies = [
"reth-network-peers",
"reth-primitives",
"reth-rpc-eth-api",
"serde_json",
]
[[package]]
@ -8736,7 +8704,6 @@ dependencies = [
"reth-metrics",
"reth-network-api",
"reth-network-peers",
"reth-node-api",
"reth-node-core",
"reth-payload-builder",
"reth-primitives",
@ -8750,7 +8717,6 @@ dependencies = [
"reth-rpc-server-types",
"reth-rpc-types-compat",
"reth-tasks",
"reth-tokio-util",
"reth-tracing",
"reth-transaction-pool",
"serde",
@ -8973,7 +8939,6 @@ dependencies = [
"reth-testing-utils",
"reth-trie",
"reth-trie-db",
"serde_json",
"tempfile",
"thiserror",
"tokio",
@ -9033,11 +8998,8 @@ dependencies = [
"assert_matches",
"parking_lot 0.12.3",
"rayon",
"reth-chainspec",
"reth-db",
"reth-db-api",
"reth-nippy-jar",
"reth-node-types",
"reth-provider",
"reth-prune-types",
"reth-stages",
@ -9200,13 +9162,11 @@ dependencies = [
"auto_impl",
"bincode",
"criterion",
"derive_more 1.0.0",
"itertools 0.13.0",
"metrics",
"proptest",
"proptest-arbitrary-interop",
"rayon",
"reth-chainspec",
"reth-execution-errors",
"reth-metrics",
"reth-primitives",
@ -9217,7 +9177,6 @@ dependencies = [
"serde",
"serde_json",
"serde_with",
"tokio",
"tracing",
"triehash",
]
@ -9253,22 +9212,17 @@ dependencies = [
"alloy-consensus",
"alloy-primitives",
"alloy-rlp",
"auto_impl",
"derive_more 1.0.0",
"itertools 0.13.0",
"metrics",
"proptest",
"proptest-arbitrary-interop",
"rayon",
"reth-chainspec",
"reth-db",
"reth-db-api",
"reth-execution-errors",
"reth-metrics",
"reth-node-types",
"reth-primitives",
"reth-provider",
"reth-stages-types",
"reth-storage-errors",
"reth-trie",
"reth-trie-common",
@ -9276,8 +9230,6 @@ dependencies = [
"serde",
"serde_json",
"similar-asserts",
"tokio",
"tokio-stream",
"tracing",
"triehash",
]
@ -9297,7 +9249,6 @@ dependencies = [
"rand 0.8.5",
"rayon",
"reth-db",
"reth-db-api",
"reth-execution-errors",
"reth-metrics",
"reth-primitives",
@ -9321,15 +9272,12 @@ dependencies = [
"pretty_assertions",
"proptest",
"rand 0.8.5",
"rayon",
"reth-primitives",
"reth-testing-utils",
"reth-tracing",
"reth-trie",
"reth-trie-common",
"smallvec",
"thiserror",
"tracing",
]
[[package]]

View File

@ -96,7 +96,6 @@ backon.workspace = true
similar-asserts.workspace = true
[dev-dependencies]
reth-discv4.workspace = true
tempfile.workspace = true
[features]

View File

@ -6,9 +6,11 @@ edition = "2021"
[dependencies]
# reth
reth = { git = "https://github.com/paradigmxyz/reth.git" }
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = ["serde"] }
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git"}
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git"}
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = [
"serde",
] }
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" }
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git" }
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
# async

View File

@ -13,11 +13,8 @@ workspace = true
[dependencies]
reth.workspace = true
reth-chainspec.workspace = true
reth-engine-local.workspace = true
reth-primitives.workspace = true
reth-tracing.workspace = true
reth-db = { workspace = true, features = ["test-utils"] }
reth-rpc.workspace = true
reth-rpc-layer.workspace = true
reth-payload-builder = { workspace = true, features = ["test-utils"] }
reth-payload-primitives.workspace = true
@ -26,11 +23,8 @@ reth-node-builder = { workspace = true, features = ["test-utils"] }
reth-tokio-util.workspace = true
reth-stages-types.workspace = true
reth-network-peers.workspace = true
reth-node-ethereum.workspace = true
reth-rpc-types-compat.workspace = true
# rpc
jsonrpsee-types.workspace = true
jsonrpsee.workspace = true
# ethereum

View File

@ -76,7 +76,6 @@ reth-chainspec.workspace = true
alloy-rlp.workspace = true
assert_matches.workspace = true
rand.workspace = true
[features]
test-utils = [
@ -86,5 +85,5 @@ test-utils = [
"reth-prune-types",
"reth-stages/test-utils",
"reth-static-file",
"reth-tracing"
"reth-tracing",
]

View File

@ -35,7 +35,6 @@ auto_impl.workspace = true
[dev-dependencies]
arbitrary = { workspace = true, features = ["derive"] }
proptest.workspace = true
alloy-consensus.workspace = true
[features]

View File

@ -43,14 +43,12 @@ reth-chainspec.workspace = true
reth-db.workspace = true
reth-exex.workspace = true
reth-node-api.workspace = true
reth-node-core.workspace = true
reth-e2e-test-utils.workspace = true
reth-tasks.workspace = true
futures.workspace = true
alloy-primitives.workspace = true
alloy-genesis.workspace = true
tokio.workspace = true
futures-util.workspace = true
serde_json.workspace = true
alloy-consensus.workspace = true

View File

@ -17,7 +17,10 @@ reth-chain-state.workspace = true
reth-chainspec.workspace = true
reth-config.workspace = true
reth-evm.workspace = true
reth-exex-types = { workspace = true, features = ["serde", "serde-bincode-compat"] }
reth-exex-types = { workspace = true, features = [
"serde",
"serde-bincode-compat",
] }
reth-fs-util.workspace = true
reth-metrics.workspace = true
reth-node-api.workspace = true
@ -51,7 +54,6 @@ tracing.workspace = true
[dev-dependencies]
reth-blockchain-tree.workspace = true
reth-db-api.workspace = true
reth-db-common.workspace = true
reth-evm-ethereum.workspace = true
reth-node-api.workspace = true

View File

@ -74,7 +74,6 @@ futures.workspace = true
# test vectors generation
proptest.workspace = true
tokio.workspace = true
tempfile.workspace = true
[features]
optimism = ["reth-primitives/optimism"]

View File

@ -35,7 +35,6 @@ procfs = "0.16.0"
[dev-dependencies]
reqwest.workspace = true
reth-chainspec.workspace = true
socket2 = { version = "0.5", default-features = false }
reth-provider = { workspace = true, features = ["test-utils"] }

View File

@ -19,7 +19,6 @@ reth-payload-builder.workspace = true
reth-auto-seal-consensus.workspace = true
reth-basic-payload-builder.workspace = true
reth-consensus.workspace = true
reth-rpc-types-compat.workspace = true
reth-node-api.workspace = true
reth-node-builder.workspace = true
reth-tracing.workspace = true
@ -29,10 +28,6 @@ reth-network.workspace = true
reth-evm.workspace = true
reth-revm = { workspace = true, features = ["std"] }
reth-beacon-consensus.workspace = true
reth-discv5.workspace = true
reth-rpc-eth-types.workspace = true
reth-rpc-eth-api.workspace = true
reth-rpc.workspace = true
# op-reth
reth-optimism-payload-builder.workspace = true
@ -51,21 +46,13 @@ alloy-primitives.workspace = true
op-alloy-rpc-types-engine.workspace = true
alloy-rpc-types-engine.workspace = true
# async
async-trait.workspace = true
reqwest = { workspace = true, features = ["rustls-tls-native-roots"] }
tracing.workspace = true
# misc
clap.workspace = true
serde.workspace = true
eyre.workspace = true
parking_lot.workspace = true
thiserror.workspace = true
# rpc
jsonrpsee.workspace = true
jsonrpsee-types.workspace = true
serde_json.workspace = true
[dev-dependencies]

View File

@ -13,6 +13,5 @@ workspace = true
[dependencies]
reth-primitives.workspace = true
reth-primitives-traits.workspace = true
alloy-primitives.workspace = true
alloy-consensus.workspace = true

View File

@ -75,7 +75,6 @@ alloy-genesis.workspace = true
arbitrary = { workspace = true, features = ["derive"] }
assert_matches.workspace = true
bincode.workspace = true
modular-bitfield.workspace = true
proptest-arbitrary-interop.workspace = true
proptest.workspace = true
rand.workspace = true

View File

@ -37,12 +37,9 @@ alloy-rpc-types-engine.workspace = true
# misc
jsonrpsee = { workspace = true, features = ["server", "macros"] }
[dev-dependencies]
serde_json.workspace = true
[features]
client = [
"jsonrpsee/client",
"jsonrpsee/async-client",
"reth-rpc-eth-api/client"
"reth-rpc-eth-api/client",
]

View File

@ -64,8 +64,6 @@ reth-rpc-api = { workspace = true, features = ["client"] }
reth-rpc-engine-api.workspace = true
reth-tracing.workspace = true
reth-transaction-pool = { workspace = true, features = ["test-utils"] }
reth-tokio-util.workspace = true
reth-node-api.workspace = true
reth-rpc-types-compat.workspace = true
alloy-primitives.workspace = true

View File

@ -24,7 +24,9 @@ reth-evm.workspace = true
reth-exex.workspace = true
reth-network-p2p.workspace = true
reth-primitives = { workspace = true, features = ["secp256k1"] }
reth-primitives-traits = { workspace = true, features = ["serde-bincode-compat"] }
reth-primitives-traits = { workspace = true, features = [
"serde-bincode-compat",
] }
reth-provider.workspace = true
reth-execution-types.workspace = true
reth-prune.workspace = true
@ -82,9 +84,6 @@ tempfile.workspace = true
# Stage benchmarks
criterion = { workspace = true, features = ["async_tokio"] }
# io
serde_json.workspace = true
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
pprof = { workspace = true, features = [
"flamegraph",

View File

@ -13,17 +13,14 @@ workspace = true
[dependencies]
# reth
reth-chainspec.workspace = true
reth-db.workspace = true
reth-db-api.workspace = true
reth-provider.workspace = true
reth-storage-errors.workspace = true
reth-nippy-jar.workspace = true
reth-tokio-util.workspace = true
reth-prune-types.workspace = true
reth-static-file-types.workspace = true
reth-stages-types.workspace = true
reth-node-types.workspace = true
alloy-primitives.workspace = true

View File

@ -39,8 +39,6 @@ alloy-primitives = { workspace = true, features = [
"rand",
] }
alloy-consensus = { workspace = true, features = ["arbitrary"] }
alloy-rlp.workspace = true
rand.workspace = true
test-fuzz.workspace = true
serde_json.workspace = true

View File

@ -35,15 +35,9 @@ proptest = { workspace = true, optional = true }
reth-primitives = { workspace = true, features = ["arbitrary"] }
reth-codecs.workspace = true
arbitrary = { workspace = true, features = ["derive"] }
proptest-arbitrary-interop.workspace = true
proptest.workspace = true
test-fuzz.workspace = true
[features]
test-utils = ["arbitrary"]
arbitrary = [
"reth-primitives/arbitrary",
"dep:arbitrary",
"dep:proptest",
]
arbitrary = ["reth-primitives/arbitrary", "dep:arbitrary", "dep:proptest"]

View File

@ -58,7 +58,6 @@ strum = { workspace = true, features = ["derive"], optional = true }
[dev-dependencies]
# reth libs with arbitrary
reth-primitives = { workspace = true, features = ["arbitrary"] }
rand.workspace = true
serde_json.workspace = true
tempfile.workspace = true
test-fuzz.workspace = true

View File

@ -17,7 +17,6 @@ reth-primitives.workspace = true
reth-execution-errors.workspace = true
reth-db.workspace = true
reth-db-api.workspace = true
reth-stages-types.workspace = true
reth-storage-errors.workspace = true
reth-trie-common.workspace = true
reth-trie.workspace = true
@ -32,10 +31,7 @@ alloy-primitives.workspace = true
tracing.workspace = true
# misc
rayon.workspace = true
derive_more.workspace = true
auto_impl.workspace = true
itertools.workspace = true
# `metrics` feature
reth-metrics = { workspace = true, optional = true }
@ -56,7 +52,6 @@ reth-provider = { workspace = true, features = ["test-utils"] }
reth-storage-errors.workspace = true
reth-trie-common = { workspace = true, features = ["test-utils", "arbitrary"] }
reth-trie = { workspace = true, features = ["test-utils"] }
reth-node-types.workspace = true
alloy-consensus.workspace = true
@ -66,12 +61,6 @@ triehash = "0.8"
# misc
proptest.workspace = true
proptest-arbitrary-interop.workspace = true
tokio = { workspace = true, default-features = false, features = [
"sync",
"rt",
"macros",
] }
tokio-stream.workspace = true
serde_json.workspace = true
similar-asserts.workspace = true

View File

@ -15,7 +15,6 @@ workspace = true
# reth
reth-primitives.workspace = true
reth-db.workspace = true
reth-db-api.workspace = true
reth-trie.workspace = true
reth-trie-db.workspace = true
reth-execution-errors.workspace = true
@ -46,7 +45,11 @@ reth-trie = { workspace = true, features = ["test-utils"] }
# misc
rand.workspace = true
tokio = { workspace = true, default-features = false, features = ["sync", "rt", "macros"] }
tokio = { workspace = true, default-features = false, features = [
"sync",
"rt",
"macros",
] }
rayon.workspace = true
criterion = { workspace = true, features = ["async_tokio"] }
proptest.workspace = true

View File

@ -14,7 +14,6 @@ workspace = true
[dependencies]
# reth
reth-primitives.workspace = true
reth-tracing.workspace = true
reth-trie-common.workspace = true
reth-trie.workspace = true
@ -23,16 +22,11 @@ reth-trie.workspace = true
alloy-primitives.workspace = true
alloy-rlp.workspace = true
# tracing
tracing.workspace = true
# misc
rayon.workspace = true
smallvec = { workspace = true, features = ["const_new"] }
thiserror.workspace = true
[dev-dependencies]
reth-primitives = { workspace = true, features = ["test-utils", "arbitrary"] }
reth-testing-utils.workspace = true
reth-trie = { workspace = true, features = ["test-utils"] }
reth-trie-common = { workspace = true, features = ["test-utils", "arbitrary"] }

View File

@ -31,7 +31,6 @@ tracing.workspace = true
# misc
rayon.workspace = true
derive_more.workspace = true
auto_impl.workspace = true
itertools.workspace = true
@ -50,7 +49,6 @@ serde_with = { workspace = true, optional = true }
[dev-dependencies]
# reth
reth-chainspec.workspace = true
reth-primitives = { workspace = true, features = ["test-utils", "arbitrary"] }
reth-trie-common = { workspace = true, features = ["test-utils", "arbitrary"] }
@ -60,11 +58,6 @@ triehash = "0.8"
# misc
proptest.workspace = true
proptest-arbitrary-interop.workspace = true
tokio = { workspace = true, default-features = false, features = [
"sync",
"rt",
"macros",
] }
serde_json.workspace = true
criterion.workspace = true
bincode.workspace = true

View File

@ -13,8 +13,6 @@ reth-eth-wire.workspace = true
reth-network.workspace = true
reth-network-api.workspace = true
reth-node-ethereum.workspace = true
reth-provider = { workspace = true, features = ["test-utils"] }
reth-primitives.workspace = true
reth.workspace = true
tokio-stream.workspace = true
eyre.workspace = true

View File

@ -20,6 +20,5 @@ reth-primitives.workspace = true
serde_json.workspace = true
reth-tracing.workspace = true
tokio-stream.workspace = true
reth-provider = { workspace = true, features = ["test-utils"] }
reth-discv4 = { workspace = true, features = ["test-utils"] }
alloy-primitives.workspace = true