Crate zarrs

source ·
Expand description

A rust library for the Zarr V3 storage format for multidimensional arrays and metadata.

Developed at the Department of Materials Physics, Australian National University, Canberra, Australia.

zarrs is experimental and in limited production use. Use at your own risk!

A changelog can be found here.

A subset of zarrs is exposed as a C API in the zarrs-ffi crate.

Stability

Zarrs is unstable and will remain unstable in the near future as the API is refined and the Zarr V3 specification is finalised.

Implementation Status

Crate Features

The following crate features are enabled by default:

  • Codecs: blosc, gzip, transpose, zstd, sharding, crc32c.
  • Stores: http, zip.
  • ndarray: adds ndarray utility functions to Array.

The following features are disabled by default:

  • Codecs: bitround, zfp
  • Stores: s3 (Amazon S3) gcp (Google Cloud), azure (Microsoft Azure)
  • async (experimental): enable asynchronous stores and associated storage, array, and group methods.

Examples

Examples can be run with cargo run --example EXAMPLE_NAME

Sync API

Async API

Licence

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

Modules

Macros