Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): remove unused deps #6206

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 59 additions & 54 deletions Cargo.lock

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

32 changes: 7 additions & 25 deletions crates/storage/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Staged syncing primitives used in reth."
description = "Database primitives used in reth."

[lints]
workspace = true
Expand All @@ -22,17 +22,7 @@ reth-tracing.workspace = true

# codecs
serde = { workspace = true, default-features = false }
postcard = { version = "1.0.2", features = ["alloc"] }
heapless = "0.7.16"
parity-scale-codec = { version = "3.2.1", features = ["bytes"] }
futures.workspace = true
tokio-stream.workspace = true
rand.workspace = true
secp256k1 = { workspace = true, default-features = false, features = [
"alloc",
"recovery",
"rand",
], optional = true }
modular-bitfield = "0.11.2"

# metrics
Expand All @@ -45,51 +35,43 @@ page_size = "0.6.0"
thiserror.workspace = true
tempfile = { workspace = true, optional = true }
parking_lot.workspace = true
derive_more = "0.99"
derive_more.workspace = true
eyre.workspace = true
paste = "1.0"
rayon.workspace = true
itertools.workspace = true

# arbitrary utils
arbitrary = { workspace = true, features = ["derive"], optional = true }
proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
once_cell = "1.19.0"
once_cell.workspace = true

[dev-dependencies]
# reth libs with arbitrary
reth-primitives = { workspace = true, features = ["arbitrary"] }
reth-codecs.workspace = true
reth-interfaces.workspace = true

rand.workspace = true
serde_json.workspace = true

tempfile.workspace = true
test-fuzz = "4"
test-fuzz = "5"

pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
criterion.workspace = true
iai = "0.1.1"
tokio = { workspace = true, features = ["full"] }

# needed for test-fuzz to work properly, see https://github.com/paradigmxyz/reth/pull/177#discussion_r1021172198
secp256k1.workspace = true

async-trait.workspace = true

arbitrary = { workspace = true, features = ["derive"] }
proptest.workspace = true
proptest-derive.workspace = true

serde_json.workspace = true

paste = "1.0"

assert_matches.workspace = true

[features]
default = ["mdbx"]
test-utils = ["tempfile", "arbitrary"]
bench-postcard = ["bench"]
mdbx = ["reth-libmdbx"]
bench = []
arbitrary = [
Expand Down
5 changes: 0 additions & 5 deletions crates/storage/db/benches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,3 @@ Currently only benchmarking the encoding/decoding of `Header`. It can be benchma
```bash
$ cargo bench --features bench
```

### Postcard:
```bash
$ cargo bench --features bench-postcard
```
Loading