mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-22 10:21:59 +01:00
* codecs,raw,preview,meta,engine: cut over TIFF/JPEG/focus to craft-libs and fix CI * docs: update parity-checklist paths after craft-raw/craft-metadata cutover * Remove unused codec workspace deps and cut examples over to craft-image-codecs * chore: update Cargo.lock after removing unused codec deps
56 lines
2.1 KiB
TOML
56 lines
2.1 KiB
TOML
[package]
|
|
name = "lightcraft-codecs"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "LightCraft standard image codecs: sniffing, decode to linear light, ICC, encoders (L1)"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
lightcraft-geom = { workspace = true }
|
|
lightcraft-color = { workspace = true }
|
|
lightcraft-raster = { workspace = true }
|
|
craft-gainmap = { workspace = true }
|
|
craft-cms = { workspace = true }
|
|
craft-image-codecs = { workspace = true }
|
|
craft-tiff = { workspace = true }
|
|
craft-gif = { workspace = true }
|
|
craft-psd = { workspace = true }
|
|
craft-heif = { workspace = true, optional = true }
|
|
serde = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
rayon = { workspace = true, optional = true }
|
|
craft-jxl = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
ravif = { workspace = true, optional = true }
|
|
rav1e = { workspace = true, optional = true }
|
|
avif-serialize = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
default = ["parallel", "jxl", "avif"]
|
|
parallel = ["dep:rayon", "lightcraft-raster/parallel"]
|
|
## JPEG XL decoding and encoding via the shared craft-jxl codec.
|
|
jxl = ["dep:craft-jxl"]
|
|
# HEIC/HEIF decode via the optional craft-heif crate (heic-rs, pure Rust). Off by default so
|
|
# distributors choose it at build time (HEVC patents are a distributor's call, same policy as
|
|
# PhotoCraft); `cargo xtask ci` clippies and tests it (`--features heif`), releases don't ship it yet.
|
|
heif = ["dep:craft-heif"]
|
|
## AVIF encoding via ravif/rav1e (pure Rust, BSD). Native targets only; a no-op on wasm32.
|
|
avif = ["dep:ravif", "dep:rav1e", "dep:avif-serialize"]
|
|
|
|
[dev-dependencies]
|
|
# tests record why they skip (`cargo xtask ci` lists the skips)
|
|
lightcraft-testkit = { workspace = true }
|
|
# JPEG XL tests read encoded samples without our colour conversion
|
|
jxl-oxide = { workspace = true }
|
|
proptest = { workspace = true }
|
|
# Lossless synthetic HEIC files for the `heif` feature's tests.
|
|
craft-heif = { workspace = true, features = ["testdata"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
|
dhat = { workspace = true }
|