From c868174fc605da09624ce79fd42c20c52d60a4b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:04:27 +0000 Subject: [PATCH] Update Rust crate async-lock to v3 --- Cargo.lock | 49 +++++++++++++++++++++++++++++++++--- Cargo.toml | 2 +- nativelink-store/Cargo.toml | 2 +- nativelink-util/Cargo.toml | 2 +- nativelink-worker/Cargo.toml | 2 +- 5 files changed, 49 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2c3a52142..f10cf575e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -123,11 +123,13 @@ dependencies = [ [[package]] name = "async-lock" -version = "2.8.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" +checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" dependencies = [ "event-listener", + "event-listener-strategy", + "pin-project-lite", ] [[package]] @@ -783,6 +785,15 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "concurrent-queue" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "const-oid" version = "0.9.6" @@ -838,6 +849,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-utils" +version = "0.8.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06d96137f14f244c37f989d9fff8f95e6c18b918e71f36638f8c49112e4c78f" +dependencies = [ + "cfg-if", +] + [[package]] name = "crypto-bigint" version = "0.4.9" @@ -979,9 +999,24 @@ dependencies = [ [[package]] name = "event-listener" -version = "2.5.3" +version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" +checksum = "84f2cdcf274580f2d63697192d744727b3198894b1bf02923643bf59e2c26712" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +dependencies = [ + "event-listener", + "pin-project-lite", +] [[package]] name = "extend" @@ -1861,6 +1896,12 @@ dependencies = [ "sha2", ] +[[package]] +name = "parking" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" + [[package]] name = "parking_lot" version = "0.12.1" diff --git a/Cargo.toml b/Cargo.toml index d95e7a7a4..323f1ba42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ nativelink-store = { path = "nativelink-store" } nativelink-util = { path = "nativelink-util" } nativelink-worker = { path = "nativelink-worker" } -async-lock = "2.8.0" +async-lock = "3.2.0" axum = "0.6.20" clap = { version = "4.4.11", features = ["derive"] } futures = "0.3.29" diff --git a/nativelink-store/Cargo.toml b/nativelink-store/Cargo.toml index 5f865837d..6f344a91a 100644 --- a/nativelink-store/Cargo.toml +++ b/nativelink-store/Cargo.toml @@ -9,7 +9,7 @@ nativelink-config = { path = "../nativelink-config" } nativelink-util = { path = "../nativelink-util" } nativelink-proto = { path = "../nativelink-proto" } -async-lock = "2.8.0" +async-lock = "3.2.0" async-trait = "0.1.74" aws-config = "0.57.2" aws-sdk-s3 = { version = "0.35.0" } diff --git a/nativelink-util/Cargo.toml b/nativelink-util/Cargo.toml index e3542c5bd..090903d45 100644 --- a/nativelink-util/Cargo.toml +++ b/nativelink-util/Cargo.toml @@ -8,7 +8,7 @@ nativelink-config = { path = "../nativelink-config" } nativelink-error = { path = "../nativelink-error" } nativelink-proto = { path = "../nativelink-proto" } -async-lock = "2.8.0" +async-lock = "3.2.0" async-trait = "0.1.74" blake3 = "1.5.0" bytes = "1.5.0" diff --git a/nativelink-worker/Cargo.toml b/nativelink-worker/Cargo.toml index f2a3ec332..a9569a23e 100644 --- a/nativelink-worker/Cargo.toml +++ b/nativelink-worker/Cargo.toml @@ -14,7 +14,7 @@ nativelink-store = { path = "../nativelink-store" } # functionality out of the schedulers. nativelink-scheduler = { path = "../nativelink-scheduler" } -async-lock = "2.8.0" +async-lock = "3.2.0" async-trait = "0.1.74" bytes = "1.5.0" filetime = "0.2.23"