Cross-platform image crate dependency in Cargo.toml #70

Closed
opened 2026-08-25 09:54:51 +01:00 by gronod · 0 comments
Owner

Problem

The image crate in src-tauri/Cargo.toml is currently restricted to [target.'cfg(windows)'.dependencies] (used for Windows GDI printing). Linux and macOS builds will fail to compile if TIFF-to-PNG preview conversion is invoked.

Acceptance Criteria

  1. Move Dependency to Common Table:
    • Move image = { version = "0.25", default-features = false, features = ["png", "tiff"] } to the common [dependencies] section in src-tauri/Cargo.toml.
  2. Impact:
    • Required by #58 for cross-platform TIFF preview conversion.
### Problem The `image` crate in `src-tauri/Cargo.toml` is currently restricted to `[target.'cfg(windows)'.dependencies]` (used for Windows GDI printing). Linux and macOS builds will fail to compile if TIFF-to-PNG preview conversion is invoked. ### Acceptance Criteria 1. **Move Dependency to Common Table**: - Move `image = { version = "0.25", default-features = false, features = ["png", "tiff"] }` to the common `[dependencies]` section in `src-tauri/Cargo.toml`. 2. **Impact**: - Required by #58 for cross-platform TIFF preview conversion.
gronod added this to the Milestone 7: v0.2 ship milestone 2026-08-25 09:54:51 +01:00
gronod added the Kind/Bug
Priority
High
2
labels 2026-08-25 09:54:51 +01:00
Sign in to join this conversation.