Move parking_lot dependency to workspace dep (#4228)

This commit is contained in:
Eric
2023-08-16 21:32:42 +08:00
committed by GitHub
parent 43601e3496
commit d643d03030
9 changed files with 11 additions and 10 deletions

View File

@ -23,7 +23,7 @@ reth-provider.workspace = true
reth-stages = { path = "../stages" }
# common
parking_lot = { version = "0.12" }
parking_lot.workspace = true
lru = "0.10"
tracing.workspace = true
@ -36,7 +36,7 @@ reth-db = { path = "../storage/db", features = ["test-utils"] }
reth-interfaces = { workspace = true, features = ["test-utils"] }
reth-primitives = { workspace = true , features = ["test-utils"] }
reth-provider = { workspace = true, features = ["test-utils"] }
parking_lot = "0.12"
parking_lot.workspace = true
assert_matches = "1.5"
tokio = { workspace = true, features = ["macros", "sync"] }

View File

@ -37,7 +37,7 @@ secp256k1 = { workspace = true, default-features = false, features = [
"rand",
], optional = true }
modular-bitfield = "0.11.2"
parking_lot = "0.12.1"
parking_lot.workspace = true
clap = { version = "4", features = ["derive"], optional = true }
[dev-dependencies]

View File

@ -32,7 +32,7 @@ linked_hash_set = "0.1"
schnellru = "0.2"
thiserror.workspace = true
tracing.workspace = true
parking_lot = "0.12"
parking_lot.workspace = true
serde = { workspace = true, optional = true }
serde_with = { version = "2.1.0", optional = true }

View File

@ -52,7 +52,7 @@ aquamarine = "0.3.0"
tracing.workspace = true
fnv = "1.0"
thiserror.workspace = true
parking_lot = "0.12"
parking_lot.workspace = true
async-trait.workspace = true
linked_hash_set = "0.1"
linked-hash-map = "0.5.6"

View File

@ -36,7 +36,7 @@ bytes.workspace = true
page_size = "0.4.2"
thiserror.workspace = true
tempfile = { version = "3.3.0", optional = true }
parking_lot = "0.12"
parking_lot.workspace = true
derive_more = "0.99"
eyre = "0.6.8"

View File

@ -17,7 +17,7 @@ byteorder = "1"
derive_more = "0.99"
indexmap = "1"
libc = "0.2"
parking_lot = "0.12"
parking_lot.workspace = true
thiserror.workspace = true
ffi = { package = "reth-mdbx-sys", path = "./mdbx-sys" }

View File

@ -28,7 +28,7 @@ auto_impl = "1.0"
itertools.workspace = true
pin-project.workspace = true
derive_more = "0.99"
parking_lot = "0.12"
parking_lot.workspace = true
# test-utils
reth-rlp = { workspace = true, optional = true }
@ -38,7 +38,7 @@ reth-db = { path = "../db", features = ["test-utils"] }
reth-primitives = { workspace = true, features = ["arbitrary", "test-utils"] }
reth-rlp.workspace = true
reth-trie = { path = "../../trie", features = ["test-utils"] }
parking_lot = "0.12"
parking_lot.workspace = true
tempfile = "3.3"
[features]

View File

@ -28,7 +28,7 @@ reth-tasks.workspace = true
# async/futures
async-trait.workspace = true
futures-util.workspace = true
parking_lot = "0.12"
parking_lot.workspace = true
tokio = { workspace = true, default-features = false, features = ["sync"] }
tokio-stream.workspace = true