chore: remove unused crate deps (#1524)

This commit is contained in:
Matthias Seitz
2023-02-23 12:42:19 +01:00
committed by GitHub
parent 22d20d568d
commit a3067d9067
3 changed files with 3 additions and 49 deletions

16
Cargo.lock generated
View File

@@ -4835,28 +4835,12 @@ dependencies = [
name = "reth-provider"
version = "0.1.0"
dependencies = [
"arbitrary",
"async-trait",
"auto_impl 1.0.1",
"bytes",
"futures",
"heapless",
"hex-literal",
"modular-bitfield",
"parity-scale-codec",
"parking_lot 0.12.1",
"postcard",
"rand 0.8.5",
"reth-codecs",
"reth-db",
"reth-interfaces",
"reth-primitives",
"reth-rpc-types",
"secp256k1 0.24.3",
"test-fuzz",
"thiserror",
"tokio",
"tokio-stream",
]
[[package]]

View File

@@ -8,52 +8,22 @@ readme = "README.md"
description = "Reth storage provider."
[dependencies]
#reth
reth-codecs = { path = "../codecs" }
# reth
reth-primitives = { path = "../../primitives" }
reth-interfaces = { path = "../../interfaces" }
reth-rpc-types = { path = "../../rpc/rpc-types" }
reth-db = { path = "../db" }
# codecs
postcard = { version = "1.0.2", features = ["alloc"] }
parity-scale-codec = { version = "3.2.1", features = ["bytes"] }
# misc
async-trait = "0.1.57"
thiserror = "1.0.37"
auto_impl = "1.0"
tokio = { version = "1.21.2", features = ["sync"] }
bytes = "1.4"
futures = "0.3.25"
tokio-stream = "0.1.11"
rand = "0.8.5"
modular-bitfield = "0.11.2"
heapless = "0.7.16"
# feature test-utils
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
secp256k1 = { version = "0.24.2", default-features = false, features = [
"alloc",
"recovery",
"rand",
], optional = true }
parking_lot = { version = "0.12", optional = true }
[dev-dependencies]
reth-db = { path = "../db", features = ["test-utils"] }
test-fuzz = "3.0.4"
tokio = { version = "1.21.2", features = ["full"] }
tokio-stream = { version = "0.1.11", features = ["sync"] }
arbitrary = { version = "1.1.7", features = ["derive"] }
hex-literal = "0.3"
secp256k1 = { version = "0.24.2", default-features = false, features = [
"alloc",
"recovery",
"rand",
] }
parking_lot = "0.12"
[features]
bench = []
test-utils = ["tokio-stream/sync", "secp256k1", "parking_lot"]
test-utils = ["parking_lot"]

View File

@@ -1,4 +1,4 @@
#![warn(missing_docs, unreachable_pub)]
#![warn(missing_docs, unreachable_pub, unused_crate_dependencies)]
#![deny(unused_must_use, rust_2018_idioms)]
#![doc(test(
no_crate_inject,