- pin zip dependency of bioformats

This commit is contained in:
w.pomp committed 2026-10-27 19:01:15 +01:00
1 parent 3c7af5da4d
commit 02cfa39677
1 file changed
+4 -1
+4 -1
View File
@@ -51,6 +51,9 @@ tokio = { version = "1", features = ["rt", "rt-multi-thread"], optional = true }
thread_local = { version = "1", optional = true } thread_local = { version = "1", optional = true }
xmltree = { version = "0.12", optional = true } xmltree = { version = "0.12", optional = true }
yaml_serde = { version = "0.10", optional = true } yaml_serde = { version = "0.10", optional = true }
# "bioformats 0.1.8" is written for "zip 2.4.x", where zip::read::ZipFile has a single lifetime parameter.
# "zip >= 2.5" added a second "R: Read" generic (2.6.1 breaks bioformats), so the build fails.
zip = { version = "=2.4.2", optional = true, default-features = false }
[dev-dependencies] [dev-dependencies]
rayon = "1" rayon = "1"
@@ -69,7 +72,7 @@ all = ["bioformats_java", "bioformats_rust", "czi", "gpl-formats", "movie", "tif
gpl-formats = [] gpl-formats = []
python = ["dep:pyo3", "dep:numpy", "dep:pyo3-stub-gen", "dep:postcard", "ome-metadata/python"] python = ["dep:pyo3", "dep:numpy", "dep:pyo3-stub-gen", "dep:postcard", "ome-metadata/python"]
czi = ["dep:libczirw-sys", "dep:xmltree", "dep:thread_local"] czi = ["dep:libczirw-sys", "dep:xmltree", "dep:thread_local"]
bioformats_rust = ["dep:bioformats", "dep:thread_local"] bioformats_rust = ["dep:bioformats", "dep:thread_local", "dep:zip"]
bioformats_java = ["dep:j4rs", "dep:thread_local", "dep:downloader"] bioformats_java = ["dep:j4rs", "dep:thread_local", "dep:downloader"]
tiffwrite = ["dep:tiffwrite", "dep:indicatif", "dep:console", "dep:rayon"] tiffwrite = ["dep:tiffwrite", "dep:indicatif", "dep:console", "dep:rayon"]
tiffseq = ["dep:tiff", "dep:yaml_serde"] tiffseq = ["dep:tiff", "dep:yaml_serde"]