diff --git a/Cargo.lock b/Cargo.lock index 7bffd9e169159..5a5c2bd3ad70b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4190,7 +4190,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "lru 0.10.0", + "lru", "quick-protobuf", "quick-protobuf-codec", "smallvec", @@ -4672,15 +4672,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "lru" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" -dependencies = [ - "hashbrown 0.12.3", -] - [[package]] name = "lru" version = "0.10.0" @@ -9273,7 +9264,7 @@ dependencies = [ "assert_matches", "criterion", "env_logger 0.9.3", - "lru 0.8.1", + "lru", "num_cpus", "parity-scale-codec", "parking_lot 0.12.1", @@ -9385,7 +9376,7 @@ dependencies = [ "libp2p", "linked_hash_set", "log", - "lru 0.8.1", + "lru", "mockall", "multistream-select", "parity-scale-codec", @@ -9487,7 +9478,7 @@ dependencies = [ "futures-timer", "libp2p", "log", - "lru 0.8.1", + "lru", "quickcheck", "sc-network", "sc-network-common", @@ -9553,7 +9544,7 @@ dependencies = [ "futures-timer", "libp2p", "log", - "lru 0.8.1", + "lru", "mockall", "parity-scale-codec", "prost", @@ -10726,7 +10717,7 @@ version = "4.0.0-dev" dependencies = [ "futures", "log", - "lru 0.8.1", + "lru", "parity-scale-codec", "parking_lot 0.12.1", "sp-api", diff --git a/client/executor/Cargo.toml b/client/executor/Cargo.toml index 31ed3bfed196d..6c81c0e5c7e40 100644 --- a/client/executor/Cargo.toml +++ b/client/executor/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" targets = ["x86_64-unknown-linux-gnu"] [dependencies] -lru = "0.8.1" +lru = "0.10.0" parking_lot = "0.12.1" tracing = "0.1.29" diff --git a/client/network-gossip/Cargo.toml b/client/network-gossip/Cargo.toml index 40277c946a1d7..7fa843006b92c 100644 --- a/client/network-gossip/Cargo.toml +++ b/client/network-gossip/Cargo.toml @@ -19,7 +19,7 @@ futures = "0.3.21" futures-timer = "3.0.1" libp2p = "0.51.3" log = "0.4.17" -lru = "0.8.1" +lru = "0.10.0" tracing = "0.1.29" prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../utils/prometheus" } sc-network = { version = "0.10.0-dev", path = "../network/" } diff --git a/client/network/Cargo.toml b/client/network/Cargo.toml index de4c4c14a2587..f2b8ce63cb8b3 100644 --- a/client/network/Cargo.toml +++ b/client/network/Cargo.toml @@ -28,7 +28,7 @@ ip_network = "0.4.1" libp2p = { version = "0.51.3", features = ["dns", "identify", "kad", "macros", "mdns", "noise", "ping", "tcp", "tokio", "yamux", "websocket", "request-response"] } linked_hash_set = "0.1.3" log = "0.4.17" -lru = "0.8.1" +lru = "0.10.0" mockall = "0.11.3" parking_lot = "0.12.1" pin-project = "1.0.12" diff --git a/client/network/sync/Cargo.toml b/client/network/sync/Cargo.toml index 81d39d87f54f3..30dfe5a2420ab 100644 --- a/client/network/sync/Cargo.toml +++ b/client/network/sync/Cargo.toml @@ -24,7 +24,7 @@ futures = "0.3.21" futures-timer = "3.0.2" libp2p = "0.51.3" log = "0.4.17" -lru = "0.8.1" +lru = "0.10.0" mockall = "0.11.3" prost = "0.11" smallvec = "1.8.0" diff --git a/primitives/blockchain/Cargo.toml b/primitives/blockchain/Cargo.toml index 68791852d8458..337e141544003 100644 --- a/primitives/blockchain/Cargo.toml +++ b/primitives/blockchain/Cargo.toml @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } futures = "0.3.21" log = "0.4.17" -lru = "0.8.1" +lru = "0.10.0" parking_lot = "0.12.1" thiserror = "1.0.30" sp-api = { version = "4.0.0-dev", path = "../api" }