chore: remove unused dependencies to speed up building time (#6882)

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
Delweng
2024-02-29 23:10:20 +08:00
committed by GitHub
parent b00e3f98be
commit 9468527aad
18 changed files with 0 additions and 87 deletions

36
Cargo.lock generated
View File

@ -5716,17 +5716,10 @@ dependencies = [
"fdlimit", "fdlimit",
"futures", "futures",
"human_bytes", "human_bytes",
"humantime",
"hyper",
"itertools 0.12.1", "itertools 0.12.1",
"jemallocator", "jemallocator",
"jsonrpsee", "jsonrpsee",
"metrics",
"metrics-exporter-prometheus",
"metrics-process", "metrics-process",
"metrics-util",
"once_cell",
"pin-project",
"proptest", "proptest",
"rand 0.8.5", "rand 0.8.5",
"ratatui", "ratatui",
@ -5742,7 +5735,6 @@ dependencies = [
"reth-downloaders", "reth-downloaders",
"reth-ethereum-payload-builder", "reth-ethereum-payload-builder",
"reth-interfaces", "reth-interfaces",
"reth-metrics",
"reth-network", "reth-network",
"reth-network-api", "reth-network-api",
"reth-nippy-jar", "reth-nippy-jar",
@ -5769,13 +5761,10 @@ dependencies = [
"reth-tracing", "reth-tracing",
"reth-transaction-pool", "reth-transaction-pool",
"reth-trie", "reth-trie",
"revm-inspectors",
"secp256k1 0.27.0",
"serde", "serde",
"serde_json", "serde_json",
"similar-asserts", "similar-asserts",
"tempfile", "tempfile",
"thiserror",
"tokio", "tokio",
"toml", "toml",
"tracing", "tracing",
@ -5832,7 +5821,6 @@ name = "reth-beacon-consensus"
version = "0.1.0-alpha.21" version = "0.1.0-alpha.21"
dependencies = [ dependencies = [
"assert_matches", "assert_matches",
"cfg-if",
"futures", "futures",
"metrics", "metrics",
"reth-beacon-consensus-core", "reth-beacon-consensus-core",
@ -5925,7 +5913,6 @@ dependencies = [
"reth-primitives", "reth-primitives",
"secp256k1 0.27.0", "secp256k1 0.27.0",
"serde", "serde",
"serde_json",
"tempfile", "tempfile",
"toml", "toml",
] ]
@ -5934,9 +5921,7 @@ dependencies = [
name = "reth-consensus-common" name = "reth-consensus-common"
version = "0.1.0-alpha.21" version = "0.1.0-alpha.21"
dependencies = [ dependencies = [
"alloy-chains",
"assert_matches", "assert_matches",
"cfg-if",
"mockall", "mockall",
"reth-interfaces", "reth-interfaces",
"reth-primitives", "reth-primitives",
@ -5959,7 +5944,6 @@ dependencies = [
"once_cell", "once_cell",
"page_size", "page_size",
"parity-scale-codec", "parity-scale-codec",
"parking_lot 0.12.1",
"paste", "paste",
"pprof", "pprof",
"proptest", "proptest",
@ -6010,7 +5994,6 @@ version = "0.1.0-alpha.21"
dependencies = [ dependencies = [
"alloy-chains", "alloy-chains",
"alloy-rlp", "alloy-rlp",
"async-trait",
"data-encoding", "data-encoding",
"enr", "enr",
"linked_hash_set", "linked_hash_set",
@ -6299,7 +6282,6 @@ dependencies = [
"futures", "futures",
"humantime-serde", "humantime-serde",
"itertools 0.12.1", "itertools 0.12.1",
"linked-hash-map",
"linked_hash_set", "linked_hash_set",
"metrics", "metrics",
"parking_lot 0.12.1", "parking_lot 0.12.1",
@ -6341,7 +6323,6 @@ name = "reth-network-api"
version = "0.1.0-alpha.21" version = "0.1.0-alpha.21"
dependencies = [ dependencies = [
"alloy-chains", "alloy-chains",
"async-trait",
"reth-discv4", "reth-discv4",
"reth-eth-wire", "reth-eth-wire",
"reth-primitives", "reth-primitives",
@ -6551,7 +6532,6 @@ name = "reth-payload-builder"
version = "0.1.0-alpha.21" version = "0.1.0-alpha.21"
dependencies = [ dependencies = [
"alloy-rlp", "alloy-rlp",
"async-trait",
"futures-util", "futures-util",
"metrics", "metrics",
"reth-interfaces", "reth-interfaces",
@ -6561,11 +6541,9 @@ dependencies = [
"reth-provider", "reth-provider",
"reth-rpc-types", "reth-rpc-types",
"reth-rpc-types-compat", "reth-rpc-types-compat",
"reth-tasks",
"reth-transaction-pool", "reth-transaction-pool",
"revm", "revm",
"revm-primitives", "revm-primitives",
"serde",
"sha2", "sha2",
"thiserror", "thiserror",
"tokio", "tokio",
@ -6606,7 +6584,6 @@ dependencies = [
"hash-db", "hash-db",
"itertools 0.12.1", "itertools 0.12.1",
"modular-bitfield", "modular-bitfield",
"num_enum 0.7.2",
"nybbles", "nybbles",
"once_cell", "once_cell",
"plain_hasher", "plain_hasher",
@ -6631,7 +6608,6 @@ dependencies = [
"test-fuzz", "test-fuzz",
"thiserror", "thiserror",
"toml", "toml",
"tracing",
"triehash", "triehash",
"zstd 0.12.4", "zstd 0.12.4",
] ]
@ -6681,10 +6657,8 @@ dependencies = [
"reth-primitives", "reth-primitives",
"reth-provider", "reth-provider",
"reth-stages", "reth-stages",
"reth-static-file",
"reth-tokio-util", "reth-tokio-util",
"thiserror", "thiserror",
"tokio",
"tokio-stream", "tokio-stream",
"tracing", "tracing",
] ]
@ -6723,7 +6697,6 @@ dependencies = [
"hyper", "hyper",
"jsonrpsee", "jsonrpsee",
"jsonwebtoken", "jsonwebtoken",
"lazy_static",
"metrics", "metrics",
"pin-project", "pin-project",
"rand 0.8.5", "rand 0.8.5",
@ -6757,7 +6730,6 @@ dependencies = [
"thiserror", "thiserror",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tokio-util",
"tower", "tower",
"tracing", "tracing",
"tracing-futures", "tracing-futures",
@ -6769,7 +6741,6 @@ version = "0.1.0-alpha.21"
dependencies = [ dependencies = [
"jsonrpsee", "jsonrpsee",
"reth-node-api", "reth-node-api",
"reth-payload-builder",
"reth-primitives", "reth-primitives",
"reth-rpc-types", "reth-rpc-types",
"serde_json", "serde_json",
@ -6866,7 +6837,6 @@ dependencies = [
"bytes", "bytes",
"ethereum_ssz", "ethereum_ssz",
"ethereum_ssz_derive", "ethereum_ssz_derive",
"itertools 0.12.1",
"jsonrpsee-types", "jsonrpsee-types",
"proptest", "proptest",
"proptest-derive", "proptest-derive",
@ -6905,7 +6875,6 @@ dependencies = [
"metrics", "metrics",
"num-traits", "num-traits",
"paste", "paste",
"pin-project",
"pprof", "pprof",
"rand 0.8.5", "rand 0.8.5",
"rayon", "rayon",
@ -6925,8 +6894,6 @@ dependencies = [
"reth-static-file", "reth-static-file",
"reth-tokio-util", "reth-tokio-util",
"reth-trie", "reth-trie",
"revm",
"serde",
"serde_json", "serde_json",
"tempfile", "tempfile",
"thiserror", "thiserror",
@ -6950,8 +6917,6 @@ dependencies = [
"reth-stages", "reth-stages",
"reth-tokio-util", "reth-tokio-util",
"tempfile", "tempfile",
"thiserror",
"tokio",
"tokio-stream", "tokio-stream",
"tracing", "tracing",
] ]
@ -7012,7 +6977,6 @@ dependencies = [
"proptest", "proptest",
"rand 0.8.5", "rand 0.8.5",
"reth-eth-wire", "reth-eth-wire",
"reth-interfaces",
"reth-metrics", "reth-metrics",
"reth-primitives", "reth-primitives",
"reth-provider", "reth-provider",

View File

@ -57,12 +57,6 @@ reth-node-core.workspace = true
# crypto # crypto
alloy-rlp.workspace = true alloy-rlp.workspace = true
alloy-chains.workspace = true alloy-chains.workspace = true
secp256k1 = { workspace = true, features = [
"global-context",
"rand-std",
"recovery",
] }
revm-inspectors.workspace = true
# tracing # tracing
tracing.workspace = true tracing.workspace = true
@ -75,12 +69,7 @@ confy.workspace = true
toml = { workspace = true, features = ["display"] } toml = { workspace = true, features = ["display"] }
# metrics # metrics
metrics-exporter-prometheus = "0.12.1"
metrics-util = "0.15.0"
metrics-process = "=1.0.14" metrics-process = "=1.0.14"
reth-metrics.workspace = true
metrics.workspace = true
once_cell.workspace = true
# test vectors generation # test vectors generation
proptest.workspace = true proptest.workspace = true
@ -100,20 +89,14 @@ tokio = { workspace = true, features = [
"rt-multi-thread", "rt-multi-thread",
] } ] }
futures.workspace = true futures.workspace = true
pin-project.workspace = true
# http/rpc
hyper = "0.14.25"
# misc # misc
aquamarine.workspace = true aquamarine.workspace = true
eyre.workspace = true eyre.workspace = true
thiserror.workspace = true
clap = { workspace = true, features = ["derive"] } clap = { workspace = true, features = ["derive"] }
tempfile.workspace = true tempfile.workspace = true
backon = "0.4" backon = "0.4"
similar-asserts.workspace = true similar-asserts.workspace = true
humantime = "2.1.0"
itertools.workspace = true itertools.workspace = true
rayon.workspace = true rayon.workspace = true
boyer-moore-magiclen = "0.2.16" boyer-moore-magiclen = "0.2.16"

View File

@ -19,7 +19,6 @@ reth-primitives.workspace = true
# serde # serde
serde.workspace = true serde.workspace = true
serde_json.workspace = true
humantime-serde.workspace = true humantime-serde.workspace = true
# crypto # crypto

View File

@ -40,7 +40,6 @@ metrics.workspace = true
tracing.workspace = true tracing.workspace = true
thiserror.workspace = true thiserror.workspace = true
schnellru.workspace = true schnellru.workspace = true
cfg-if = "1.0.0"
[dev-dependencies] [dev-dependencies]
# reth # reth

View File

@ -15,9 +15,6 @@ workspace = true
reth-primitives.workspace = true reth-primitives.workspace = true
reth-interfaces.workspace = true reth-interfaces.workspace = true
reth-provider.workspace = true reth-provider.workspace = true
alloy-chains.workspace = true
# misc
cfg-if = "1.0.0"
[dev-dependencies] [dev-dependencies]
reth-interfaces = { workspace = true, features = ["test-utils"] } reth-interfaces = { workspace = true, features = ["test-utils"] }

View File

@ -31,7 +31,6 @@ trust-dns-resolver = "0.23"
# misc # misc
data-encoding = "2" data-encoding = "2"
async-trait.workspace = true
linked_hash_set = "0.1" linked_hash_set = "0.1"
schnellru.workspace = true schnellru.workspace = true
thiserror.workspace = true thiserror.workspace = true

View File

@ -22,7 +22,6 @@ alloy-chains.workspace = true
serde = { workspace = true, features = ["derive"], optional = true } serde = { workspace = true, features = ["derive"], optional = true }
# misc # misc
async-trait.workspace = true
thiserror.workspace = true thiserror.workspace = true
tokio = { workspace = true, features = ["sync"] } tokio = { workspace = true, features = ["sync"] }

View File

@ -55,7 +55,6 @@ fnv = "1.0"
thiserror.workspace = true thiserror.workspace = true
parking_lot.workspace = true parking_lot.workspace = true
linked_hash_set = "0.1" linked_hash_set = "0.1"
linked-hash-map = "0.5.6"
rand.workspace = true rand.workspace = true
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] } secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
derive_more.workspace = true derive_more.workspace = true

View File

@ -19,7 +19,6 @@ reth-transaction-pool.workspace = true
reth-interfaces.workspace = true reth-interfaces.workspace = true
reth-rpc-types-compat.workspace = true reth-rpc-types-compat.workspace = true
reth-provider.workspace = true reth-provider.workspace = true
reth-tasks.workspace = true
reth-node-api.workspace = true reth-node-api.workspace = true
# ethereum # ethereum
@ -30,7 +29,6 @@ revm-primitives.workspace = true
tokio = { workspace = true, features = ["sync"] } tokio = { workspace = true, features = ["sync"] }
tokio-stream.workspace = true tokio-stream.workspace = true
futures-util.workspace = true futures-util.workspace = true
async-trait.workspace = true
# metrics # metrics
reth-metrics.workspace = true reth-metrics.workspace = true
@ -41,9 +39,6 @@ thiserror.workspace = true
sha2 = { version = "0.10", default-features = false } sha2 = { version = "0.10", default-features = false }
tracing.workspace = true tracing.workspace = true
# serde, for traits
serde.workspace = true
[dev-dependencies] [dev-dependencies]
revm.workspace = true revm.workspace = true

View File

@ -34,9 +34,6 @@ secp256k1 = { workspace = true, features = ["global-context", "recovery"] }
# for eip-4844 # for eip-4844
c-kzg = { workspace = true, features = ["serde"], optional = true } c-kzg = { workspace = true, features = ["serde"], optional = true }
# tracing
tracing.workspace = true
# misc # misc
bytes.workspace = true bytes.workspace = true
byteorder = "1" byteorder = "1"
@ -44,7 +41,6 @@ clap = { workspace = true, features = ["derive"], optional = true }
derive_more.workspace = true derive_more.workspace = true
itertools.workspace = true itertools.workspace = true
modular-bitfield = "0.11.2" modular-bitfield = "0.11.2"
num_enum = "0.7"
once_cell.workspace = true once_cell.workspace = true
rayon.workspace = true rayon.workspace = true
serde.workspace = true serde.workspace = true

View File

@ -17,13 +17,9 @@ reth-primitives.workspace = true
reth-db.workspace = true reth-db.workspace = true
reth-provider.workspace = true reth-provider.workspace = true
reth-interfaces.workspace = true reth-interfaces.workspace = true
reth-static-file.workspace = true
reth-tokio-util.workspace = true reth-tokio-util.workspace = true
reth-config.workspace = true reth-config.workspace = true
# async
tokio = { workspace = true, features = ["sync"] }
# metrics # metrics
reth-metrics.workspace = true reth-metrics.workspace = true
metrics.workspace = true metrics.workspace = true

View File

@ -15,7 +15,6 @@ workspace = true
# reth # reth
reth-primitives.workspace = true reth-primitives.workspace = true
reth-rpc-types.workspace = true reth-rpc-types.workspace = true
reth-payload-builder.workspace = true
reth-node-api.workspace = true reth-node-api.workspace = true
# misc # misc

View File

@ -23,7 +23,6 @@ ethereum_ssz = { version = "0.5", optional = true }
# misc # misc
thiserror.workspace = true thiserror.workspace = true
itertools.workspace = true
serde = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] }
serde_with = "3.3" serde_with = "3.3"
serde_json.workspace = true serde_json.workspace = true

View File

@ -58,7 +58,6 @@ async-trait.workspace = true
tokio = { workspace = true, features = ["sync"] } tokio = { workspace = true, features = ["sync"] }
tower = "0.4" tower = "0.4"
tokio-stream = { workspace = true, features = ["sync"] } tokio-stream = { workspace = true, features = ["sync"] }
tokio-util = "0.7"
pin-project.workspace = true pin-project.workspace = true
rayon.workspace = true rayon.workspace = true
@ -82,7 +81,6 @@ tracing-futures = "0.2"
schnellru.workspace = true schnellru.workspace = true
futures.workspace = true futures.workspace = true
derive_more.workspace = true derive_more.workspace = true
lazy_static = "*"
[dev-dependencies] [dev-dependencies]
jsonrpsee = { workspace = true, features = ["client"] } jsonrpsee = { workspace = true, features = ["client"] }

View File

@ -23,20 +23,15 @@ reth-tokio-util.workspace = true
reth-etl.workspace = true reth-etl.workspace = true
reth-static-file.workspace = true reth-static-file.workspace = true
# revm
revm.workspace = true
# async # async
tokio = { workspace = true, features = ["sync"] } tokio = { workspace = true, features = ["sync"] }
tokio-stream.workspace = true tokio-stream.workspace = true
futures-util.workspace = true futures-util.workspace = true
pin-project.workspace = true
# observability # observability
tracing.workspace = true tracing.workspace = true
# io # io
serde.workspace = true
tempfile.workspace = true tempfile.workspace = true
# metrics # metrics

View File

@ -21,11 +21,9 @@ reth-nippy-jar.workspace = true
reth-tokio-util.workspace = true reth-tokio-util.workspace = true
# async # async
tokio = { workspace = true, features = ["sync"] }
tokio-stream.workspace = true tokio-stream.workspace = true
# misc # misc
thiserror.workspace = true
tracing.workspace = true tracing.workspace = true
clap = { workspace = true, features = ["derive"], optional = true } clap = { workspace = true, features = ["derive"], optional = true }
rayon.workspace = true rayon.workspace = true

View File

@ -34,7 +34,6 @@ bytes.workspace = true
page_size = "0.6.0" page_size = "0.6.0"
thiserror.workspace = true thiserror.workspace = true
tempfile = { workspace = true, optional = true } tempfile = { workspace = true, optional = true }
parking_lot.workspace = true
derive_more.workspace = true derive_more.workspace = true
eyre.workspace = true eyre.workspace = true
paste = "1.0" paste = "1.0"

View File

@ -16,7 +16,6 @@ workspace = true
reth-eth-wire.workspace = true reth-eth-wire.workspace = true
reth-primitives.workspace = true reth-primitives.workspace = true
reth-provider.workspace = true reth-provider.workspace = true
reth-interfaces.workspace = true
reth-tasks.workspace = true reth-tasks.workspace = true
revm.workspace = true revm.workspace = true
alloy-rlp.workspace = true alloy-rlp.workspace = true