Files
photocraft/crates/raw/Cargo.toml
Dylan M. Taylor 6297515031 chore: cut over remaining resvg and roxmltree usages to craft-svg and craft-xml (#14320)
* chore: cut over remaining resvg and roxmltree usages to craft-svg and craft-xml

* Cut over remaining photocraft-io TIFF tests, rawinfo example, and move exr to dev-dependencies

* chore: remove unused zune-jpeg workspace dependency

* style: cargo fmt
2026-11-14 13:49:42 -05:00

37 lines
1.2 KiB
TOML

[package]
name = "photocraft-raw"
description = "PhotoCraft camera-raw develop pipeline over craft-raw's format-neutral decoded sensor model"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[features]
default = []
# Synthetic raw-file generators (DNG / CR2 / TIFF-EP writers and a lossless-JPEG
# encoder) for tests and fuzz seeds.
testgen = ["dep:image", "dep:flate2"]
# Real-file corpus tests (opt-in; `cargo xtask test-corpus`). Fail when the corpus is missing.
corpus = []
[dependencies]
craft-raw.workspace = true
# Synthetic fixture output used only by the retired format-parser tests.
image = { workspace = true, features = ["jpeg"], optional = true }
flate2 = { workspace = true, optional = true }
# Parallel bands on native; wasm builds stay single-threaded.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rayon = { workspace = true }
[dev-dependencies]
photocraft-raw = { path = ".", features = ["testgen"] }
# Writes sRGB PNG previews in the `rawinfo` example.
photocraft-codecs = { workspace = true }
# JPEG XL encoder used by legacy test fixtures only.
zune-jpegxl = { version = "=0.5.2", default-features = false, features = ["std"] }
zune-core = "0.5"
[lints]
workspace = true