- use tokio instead of os threads
PyTest / pytest (3.10) (push) Successful in 7m3s
PyTest / pytest (3.12) (push) Successful in 1m29s
PyTest / pytest (3.14) (push) Successful in 1m27s

- buffer writes
- also write in parallel
This commit is contained in:
w.pomp
2026-05-08 18:55:07 +02:00
parent 8883ae7e5e
commit 2fc0bf8c9f
9 changed files with 456 additions and 449 deletions
+8 -10
View File
@@ -1,13 +1,13 @@
[package]
name = "tiffwrite"
version = "2026.1.1"
version = "2026.5.0"
edition = "2024"
rust-version = "1.85.1"
rust-version = "1.88.0"
authors = ["Wim Pomp <w.pomp@nki.nl>"]
license = "MIT OR Apache-2.0"
description = "Write BioFormats/ImageJ compatible tiffs with zstd compression in parallel."
homepage = "https://github.com/wimpomp/tiffwrite"
repository = "https://github.com/wimpomp/tiffwrite"
homepage = "https://git.wimpomp.nl/wim/tiffwrite"
repository = "https://git.wimpomp.nl/wim/tiffwrite"
documentation = "https://docs.rs/tiffwrite"
readme = "README.md"
keywords = ["bioformats", "tiff", "ndarray", "zstd", "fiji"]
@@ -24,17 +24,15 @@ color-eyre = { version = "0.6", optional = true }
chrono = "0.4"
css-color = "0.2"
flate2 = "1"
lazy_static = "1"
ndarray = "0.17"
num = "0.4"
numpy = { version = "0.27", optional = true }
numpy = { version = "0.28", optional = true }
pyo3 = { version = "0.28", features = ["abi3-py310", "eyre", "generate-import-lib", "multiple-pymethods"], optional = true }
rayon = "1"
thiserror = "2"
tokio = { version = "1", features = ["fs", "rt", "rt-multi-thread", "time"] }
zstd = "0.13"
[dependencies.pyo3]
version = "0.27"
features = ["extension-module", "abi3-py310", "eyre", "generate-import-lib", "multiple-pymethods"]
optional = true
[features]
python = ["dep:pyo3", "dep:numpy", "dep:color-eyre"]