Skip to content

Commit

Permalink
chore(deps,opendal): Bump opendal supported range to 0.51-0.52 (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
LDeakin authored Feb 24, 2025
1 parent a8b950f commit 5c2077e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ version = "0.3.0"
path = "zarrs_object_store"

[workspace.dependencies.zarrs_opendal]
version = "0.5.0"
version = "0.6.0"
path = "zarrs_opendal"

[workspace.dependencies.zarrs_zip]
Expand All @@ -63,7 +63,7 @@ path = "zarrs_zip"
version = "0.11"

[workspace.dependencies.opendal]
version = "0.51.0"
version = "0.52.0"

[workspace.dependencies.zip]
version = "2.1.3"
Expand Down
3 changes: 3 additions & 0 deletions zarrs_opendal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- **Breaking**: Bump `opendal` supported range to 0.51-0.52

## [0.5.0] - 2024-12-24

### Changed
Expand Down
4 changes: 2 additions & 2 deletions zarrs_opendal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zarrs_opendal"
version = "0.5.0"
version = "0.6.0"
authors = ["Lachlan Deakin <ljdgit@gmail.com>"]
edition = "2021"
rust-version = "1.77"
Expand All @@ -18,7 +18,7 @@ workspace = true
[dependencies]
async-trait = "0.1.74"
futures = "0.3.29"
opendal = { version = ">=0.51,<0.52", default-features = false }
opendal = { version = ">=0.51,<0.53", default-features = false }
zarrs_storage = { workspace = true, features = ["async"] }

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion zarrs_opendal/src/async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ impl AsyncReadableStorageTraits for AsyncOpendalStore {
#[async_trait::async_trait]
impl AsyncWritableStorageTraits for AsyncOpendalStore {
async fn set(&self, key: &StoreKey, value: AsyncBytes) -> Result<(), StorageError> {
handle_result(self.operator.write(key.as_str(), value).await)
handle_result(self.operator.write(key.as_str(), value).await)?;
Ok(())
}

async fn set_partial_values(
Expand Down
3 changes: 2 additions & 1 deletion zarrs_opendal/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ impl ReadableStorageTraits for OpendalStore {
#[async_trait::async_trait]
impl WritableStorageTraits for OpendalStore {
fn set(&self, key: &StoreKey, value: Bytes) -> Result<(), StorageError> {
handle_result(self.operator.write(key.as_str(), value))
handle_result(self.operator.write(key.as_str(), value))?;
Ok(())
}

fn set_partial_values(
Expand Down

0 comments on commit 5c2077e

Please sign in to comment.