#store #zarr #zarrs #storage #array

zarrs_object_store

object_store store support for the zarrs crate

4 releases (2 breaking)

0.3.0 Nov 15, 2024
0.2.1 Sep 23, 2024
0.2.0 Sep 15, 2024
0.1.0 Sep 2, 2024

#1845 in Encoding

Download history 133/week @ 2024-08-31 11/week @ 2024-09-07 204/week @ 2024-09-14 229/week @ 2024-09-21 59/week @ 2024-09-28 8/week @ 2024-10-05 3/week @ 2024-10-12 1/week @ 2024-10-19 77/week @ 2024-11-09 50/week @ 2024-11-16 9/week @ 2024-11-23 10/week @ 2024-11-30

146 downloads per month
Used in zarrs

MIT/Apache

135KB
2.5K SLoC

zarrs_object_store

Latest Version object_store 0.11 zarrs_object_store documentation msrv build

object_store store support for the zarrs Rust crate.

use zarrs_storage::AsyncReadableWritableListableStorage;
use zarrs_object_store::AsyncObjectStore;

let options = object_store::ClientOptions::new().with_allow_http(true);
let store = object_store::http::HttpBuilder::new()
    .with_url("http://...")
    .with_client_options(options)
    .build()?;
let store: AsyncReadableWritableListableStorage =
    Arc::new(AsyncObjectStore::new(store));

Version Compatibility Matrix

See doc/version_compatibility_matrix.md.

object_store is re-exported as a dependency of this crate, so it does not need to be specified as a direct dependency.

However, if object_store 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 object_store, and Cargo will not automatically choose a single version of object_store that satisfies all dependencies. Use a precise cargo update to ensure compatibility. For example, if this crate resolves to object_store 0.11.1 and your code uses 0.10.2:

cargo update --package object_store:0.11.1 --precise 0.10.2

Licence

zarrs_object_store 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.

Dependencies

~8–18MB
~227K SLoC