Skip to content

Commit 8492fda

Browse files
committedSep 15, 2024·
Bump zarrs to 0.17.0-beta.1
1 parent 9699b9a commit 8492fda

File tree

5 files changed

+35
-21
lines changed

5 files changed

+35
-21
lines changed
 

‎CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111
- Use `FetchContent_MakeAvailable` for `zarrs_ffi` source in `Findzarrs.cmake`
12-
- Bump `zarrs` to 0.17.0-beta.0
12+
- Bump `zarrs` to 0.17.0-beta.1
1313
- Raise MSRV to 1.76
1414

1515
### Fixed

‎Cargo.lock

+29-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ cbindgen = { version = "0.27", optional = true }
2929
ffi-support = "0.4.4"
3030
once_cell = "1.18.0"
3131
serde_json = "1.0.71"
32-
zarrs = { version = "0.17.0-beta.0" }
32+
zarrs = { version = "0.17.0-beta.1" }
33+
zarrs_filesystem = { version = "0.1.0" }
3334

3435
# [patch.crates-io]
3536
# zarrs = { path = "../zarrs" }

‎src/storage.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub unsafe extern "C" fn zarrsCreateStorageFilesystem(
3939
pStorage: *mut ZarrsStorage,
4040
) -> ZarrsResult {
4141
let path = std::path::Path::new(path.as_str());
42-
match zarrs::storage::store::FilesystemStore::new(path) {
42+
match zarrs_filesystem::FilesystemStore::new(path) {
4343
Ok(store) => {
4444
*pStorage = Box::into_raw(Box::new(ZarrsStorage_T(ZarrsStorageEnum::RW(Arc::new(
4545
store,

‎tests/array.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ pub fn assert_cxx_str(input_as_string: &str) -> Assert {
99
#[test]
1010
fn ffi_array_write_rust_read_c() {
1111
use std::sync::Arc;
12-
use zarrs::{
13-
array::{DataType, FillValue},
14-
storage::store::FilesystemStore,
15-
};
12+
use zarrs::array::{DataType, FillValue};
13+
use zarrs_filesystem::FilesystemStore;
1614

1715
let tmp_path = tempfile::tempdir().unwrap();
1816
std::env::set_var(

0 commit comments

Comments
 (0)
Please sign in to comment.