This is an automated email from the ASF dual-hosted git repository.
tisonkun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 74c0dc94a3 chore(deps)!: update asyncband to 0.8.0 (#8523)
74c0dc94a3 is described below
commit 74c0dc94a3458e4eefc1644210550b7320cadf9f
Author: tison <[email protected]>
AuthorDate: Mon Nov 16 11:01:24 2026 +0800
chore(deps)!: update asyncband to 0.8.0 (#8523)
---
bindings/cpp/Cargo.toml | 2 +-
bindings/dotnet/Cargo.toml | 2 +-
bindings/python/Cargo.toml | 2 +-
bindings/ruby/Cargo.lock | 4 ++--
core/Cargo.lock | 4 ++--
core/Cargo.toml | 2 +-
core/core/src/docs/upgrade.md | 4 ++++
integrations/object_store/Cargo.toml | 2 +-
8 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/bindings/cpp/Cargo.toml b/bindings/cpp/Cargo.toml
index 614b0a958a..f008472432 100644
--- a/bindings/cpp/Cargo.toml
+++ b/bindings/cpp/Cargo.toml
@@ -31,7 +31,7 @@ crate-type = ["staticlib"]
[dependencies]
anyhow = { version = "1.0.100" }
-asyncband = { version = "0.7.1", features = ["mutex"] }
+asyncband = { version = "0.8.0", features = ["mutex"] }
bytes = { version = "1.11.0", optional = true }
cxx = { version = "1.0.186" }
cxx-async = { version = "0.1.4", optional = true }
diff --git a/bindings/dotnet/Cargo.toml b/bindings/dotnet/Cargo.toml
index 267a83ddb8..fcfa723fff 100644
--- a/bindings/dotnet/Cargo.toml
+++ b/bindings/dotnet/Cargo.toml
@@ -32,7 +32,7 @@ doc = false
[dependencies]
# this crate won't be published, we always use the local version
-asyncband = { version = "0.7.1", features = ["mutex"] }
+asyncband = { version = "0.8.0", features = ["mutex"] }
bytes = "1.12.1"
futures = "0.3"
opendal = { version = ">=0", path = "../../core", features = [
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index 7d3ac0892c..440b7e2781 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -200,7 +200,7 @@ doc = false
name = "_opendal"
[dependencies]
-asyncband = { version = "0.7.1", features = ["mutex"] }
+asyncband = { version = "0.8.0", features = ["mutex"] }
bytes = "1.10.1"
futures = "0.3.28"
jiff = { version = "0.2.15" }
diff --git a/bindings/ruby/Cargo.lock b/bindings/ruby/Cargo.lock
index e27495cbe0..6455ec64b9 100644
--- a/bindings/ruby/Cargo.lock
+++ b/bindings/ruby/Cargo.lock
@@ -47,9 +47,9 @@ dependencies = [
[[package]]
name = "asyncband"
-version = "0.7.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e52766975a4f080528a898235c51e82e65df9db713419067b5368040eeb5659"
+checksum = "5e53c31fb18f42e765610b2146531390e56966f601d8ffca530d292a34fe4218"
[[package]]
name = "atomic-waker"
diff --git a/core/Cargo.lock b/core/Cargo.lock
index 0a45da228c..29cae58416 100644
--- a/core/Cargo.lock
+++ b/core/Cargo.lock
@@ -391,9 +391,9 @@ dependencies = [
[[package]]
name = "asyncband"
-version = "0.7.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e52766975a4f080528a898235c51e82e65df9db713419067b5368040eeb5659"
+checksum = "5e53c31fb18f42e765610b2146531390e56966f601d8ffca530d292a34fe4218"
dependencies = [
"hashbrown 0.17.1",
]
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 5148d0df44..bee98a39d5 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -42,7 +42,7 @@ rust-version = "1.91"
version = "0.59.5"
[workspace.dependencies]
-asyncband = { version = "0.7.1" }
+asyncband = { version = "0.8.0" }
base64 = "0.23"
bytes = "1.10"
ctor = "1.0.7"
diff --git a/core/core/src/docs/upgrade.md b/core/core/src/docs/upgrade.md
index c0d67ace1a..bffb08eea7 100644
--- a/core/core/src/docs/upgrade.md
+++ b/core/core/src/docs/upgrade.md
@@ -1,5 +1,9 @@
# Unreleased
+## Shared semaphores for `ConcurrentLimitLayer`
+
+`ConcurrentLimitLayer` now uses asyncband 0.8. If you pass an
`Arc<asyncband::semaphore::Semaphore>` to `with_semaphore` or
`with_http_semaphore`, update your direct asyncband dependency to `0.8` and
enable its `semaphore` feature. Semaphores from asyncband 0.7 no longer
implement this version's `ConcurrentLimitSemaphore` trait.
+
## Moka and MiniMoka configuration durations
`MokaConfig` and `MiniMokaConfig` now use `Option<jiff::SignedDuration>` for
diff --git a/integrations/object_store/Cargo.toml
b/integrations/object_store/Cargo.toml
index a349bbb48c..b9af17a774 100644
--- a/integrations/object_store/Cargo.toml
+++ b/integrations/object_store/Cargo.toml
@@ -38,7 +38,7 @@ path = "tests/behavior/main.rs"
[dependencies]
async-trait = "0.1"
-asyncband = { version = "0.7.1", features = ["mutex", "oneshot"] }
+asyncband = { version = "0.8.0", features = ["mutex", "oneshot"] }
bytes = "1"
chrono = { version = "0.4.42", features = ["std", "clock"] }
futures = "0.3"