Crates.io | zarrs_icechunk |
lib.rs | zarrs_icechunk |
version | 0.1.0-alpha.0 |
source | src |
created_at | 2024-10-17 20:51:18.044877 |
updated_at | 2024-10-17 20:51:18.044877 |
description | icechunk store support for the zarrs crate |
homepage | |
repository | https://github.com/LDeakin/zarrs_icechunk |
max_upload_size | |
id | 1413611 |
size | 37,942 |
icechunk
store support for the zarrs
Rust crate.
// Create an icechunk store
let storage = Arc::new(icechunk::ObjectStorage::new_in_memory_store(None));
let icechunk_store = icechunk::Store::new_from_storage(storage).await?;
let mut store = zarrs_icechunk::AsyncIcechunkStore::new(icechunk_store);
// Do some array/metadata manipulation with zarrs, then commit a snapshot
let snapshot0 = store.commit("Initial commit").await?;
// Do some more array/metadata manipulation, then commit another snapshot
let snapshot1 = store.commit("Update data").await?;
// Checkout the first snapshot
store.checkout(icechunk::zarr::VersionInfo::SnapshotId(snapshot0)).await?;
See doc/version_compatibility_matrix.md.
zarrs_icechunk
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.