zarrs_zip

Crates.iozarrs_zip
lib.rszarrs_zip
version0.2.0
sourcesrc
created_at2024-09-15 09:36:16.648161
updated_at2024-11-15 03:33:33.430658
descriptionA storage adapter for zip files for the zarrs crate
homepage
repositoryhttps://github.com/LDeakin/zarrs
max_upload_size
id1375347
size50,804
Lachlan Deakin (LDeakin)

documentation

https://docs.rs/zarrs_zip

README

zarrs_zip

Latest Version zarrs_zip documentation msrv build

A storage adapter for zip files for the zarrs Rust crate.

use zarrs_storage::StoreKey;
use zarrs_filesystem::FilesystemStore;
use zarrs_zip::ZipStorageAdapter;

let fs_root = PathBuf::from("/path/to/a/directory");
let fs_store = Arc::new(FilesystemStore::new(&fs_root)?);
let zip_key = StoreKey::new("zarr.zip")?;
let zip_store = Arc::new(ZipStorageAdapter::new(fs_store, zip_key)?);

Licence

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

Commit count: 969

cargo fmt