Skip to content

Commit

Permalink
chore: remove unused crate deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Feb 23, 2023
1 parent 3c77dd9 commit 769ddae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 41 deletions.
12 changes: 0 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 2 additions & 28 deletions crates/storage/provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,52 +8,26 @@ 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"]
2 changes: 1 addition & 1 deletion crates/storage/provider/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 769ddae

Please sign in to comment.