From ddf09f0b9a8b94f0aca044a842a7445a81268e2c Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Wed, 8 Jan 2025 15:40:35 +0100 Subject: [PATCH] Source hdf5 dependency directly from Github hdf5-sys on crates.io has trouble recognizing later versions of HDF5, see: https://github.com/aldanor/hdf5-rust/issues/257 --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8836d8d..deeabaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -92,7 +92,8 @@ anndists = { version = "0.1.2" } # for benchmark reading, so the lbrary do not depend on hdf5 nor ndarray [dev-dependencies] -hdf5 = { version = "0.8" } +hdf5 = { git = "https://github.com/aldanor/hdf5-rust.git" } +hdf5-sys = { git = "https://github.com/aldanor/hdf5-rust.git", features = ["static", "zlib"]} ndarray = { version = "0.15" } skiplist = { version = "0.5" } tempfile = { version = "3" }