- use color-eyre

This commit is contained in:
w.pomp
2026-01-23 11:16:10 +01:00
parent 86f1c50c30
commit 8883ae7e5e
4 changed files with 38 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "tiffwrite"
version = "2025.12.0"
version = "2026.1.1"
edition = "2024"
rust-version = "1.85.1"
authors = ["Wim Pomp <w.pomp@nki.nl>"]
@@ -20,6 +20,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
colorcet = "0.2"
colorgrad = "0.8"
color-eyre = { version = "0.6", optional = true }
chrono = "0.4"
css-color = "0.2"
flate2 = "1"
@@ -32,8 +33,8 @@ zstd = "0.13"
[dependencies.pyo3]
version = "0.27"
features = ["extension-module", "abi3-py310", "generate-import-lib", "anyhow", "multiple-pymethods"]
features = ["extension-module", "abi3-py310", "eyre", "generate-import-lib", "multiple-pymethods"]
optional = true
[features]
python = ["dep:pyo3", "dep:numpy"]
python = ["dep:pyo3", "dep:numpy", "dep:color-eyre"]