https://github.com/zarrs/zarrs_zip
A storage adapter for zip files for the zarrs Rust crate
https://github.com/zarrs/zarrs_zip
Last synced: 3 months ago
JSON representation
A storage adapter for zip files for the zarrs Rust crate
- Host: GitHub
- URL: https://github.com/zarrs/zarrs_zip
- Owner: zarrs
- License: apache-2.0
- Created: 2025-11-03T21:46:43.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-01-29T11:13:14.000Z (5 months ago)
- Last Synced: 2026-03-10T22:18:51.112Z (4 months ago)
- Language: Rust
- Size: 60.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# zarrs_zip
[](https://crates.io/crates/zarrs_zip)
[](https://docs.rs/zarrs_zip)

[](https://github.com/zarrs/zarrs_zip/actions/workflows/ci.yml)
[](https://codecov.io/gh/zarrs/zarrs_zip)
A storage adapter for `zip` files for the [`zarrs`](https://crates.io/crates/zarrs) Rust crate.
```rust
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)?);
```
See a full example at [examples/zip_array_write_read.rs](./examples/zip_array_write_read.rs).
## `zarrs` Version Compatibility Matrix
See [doc/version_compatibility_matrix.md](./doc/version_compatibility_matrix.md).
## Licence
`zarrs_zip` is licensed under either of
- the Apache License, Version 2.0 [LICENSE-APACHE](./LICENCE-APACHE) or or
- the MIT license [LICENSE-MIT](./LICENCE-MIT) or , at your option.
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.