Crates.io | zarrs_opendal |
lib.rs | zarrs_opendal |
version | 0.4.0 |
source | src |
created_at | 2024-09-02 10:58:45.148871 |
updated_at | 2024-11-15 03:18:41.881703 |
description | opendal store support for the zarrs crate |
homepage | |
repository | https://github.com/LDeakin/zarrs |
max_upload_size | |
id | 1360386 |
size | 34,177 |
opendal
store support for the zarrs
Rust crate.
use zarrs_storage::AsyncReadableStorage;
use zarrs_opendal::AsyncOpendalStore;
let builder = opendal::services::Http::default().endpoint("http://...");
let operator = opendal::Operator::new(builder)?.finish();
let store: AsyncReadableStorage = Arc::new(AsyncOpendalStore::new(operator));
See doc/version_compatibility_matrix.md.
opendal
is re-exported as a dependency of this crate, so it does not need to be specified as a direct dependency.
However, if opendal
is a direct dependency, it is necessary to ensure that the version used by this crate is compatible.
This crate can depend on a range of semver-incompatible versions of opendal
, and Cargo will not automatically choose a single version of opendal
that satisfies all dependencies.
Use a precise cargo update to ensure compatibility.
For example, if this crate resolves to opendal
0.50.2 and your code uses 0.49.2:
cargo update --package opendal:0.50.2 --precise 0.49.2
zarrs_opendal
is licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.