diff --git a/Cargo.lock b/Cargo.lock index e2476166deb..ff0dc804480 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3543,9 +3543,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.1" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "oorandom" diff --git a/core/Cargo.toml b/core/Cargo.toml index 6593e44755d..626529779df 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -21,7 +21,7 @@ log = "0.4" multiaddr = { version = "0.17.1" } multihash = { version = "0.17.0", default-features = false, features = ["std"] } multistream-select = { workspace = true } -once_cell = "1.17.1" +once_cell = "1.18.0" parking_lot = "0.12.0" pin-project = "1.1.0" quick-protobuf = "0.8" diff --git a/misc/metrics/Cargo.toml b/misc/metrics/Cargo.toml index 35883fbea0f..7a579408409 100644 --- a/misc/metrics/Cargo.toml +++ b/misc/metrics/Cargo.toml @@ -29,7 +29,7 @@ libp2p-relay = { workspace = true, optional = true } libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } prometheus-client = { version = "0.21.1"} -once_cell = "1.16.0" +once_cell = "1.18.0" [target.'cfg(not(target_os = "unknown"))'.dependencies] libp2p-gossipsub = { workspace = true, optional = true } diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 00562fc5134..d5a37ae961c 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -25,7 +25,7 @@ smallvec = "1.6.1" void = "1" wasm-bindgen-futures = { version = "0.4.36", optional = true } getrandom = { version = "0.2.9", features = ["js"], optional = true } # Explicit dependency to be used in `wasm-bindgen` feature -once_cell = "1.17.1" +once_cell = "1.18.0" multistream-select = { workspace = true } [target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))'.dependencies] @@ -53,7 +53,7 @@ libp2p-swarm-test = { workspace = true } libp2p-yamux = { workspace = true } quickcheck = { workspace = true } void = "1" -once_cell = "1.17.1" +once_cell = "1.18.0" trybuild = "1.0.80" [[test]] diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index c3ec6bc42ba..35648f376a2 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -16,7 +16,7 @@ libp2p-core = { workspace = true } libp2p-identity = { workspace = true, features = ["ed25519"] } log = "0.4" quick-protobuf = "0.8" -once_cell = "1.17.1" +once_cell = "1.18.0" rand = "0.8.3" sha2 = "0.10.0" static_assertions = "1"