21 lines
958 B
TOML
21 lines
958 B
TOML
[package]
|
|
name = "lightcraft-heif"
|
|
description = "Optional HEIF/HEIC still-image decoder for LightCraft (a thin, panic-guarded wrapper around heic-rs)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
# Pure Rust, no unsafe. Pinned exactly: a young, single-owner crate that parses untrusted files;
|
|
# moving the pin is a reviewed change (re-run the heif tests and the codecs corpus tests).
|
|
# Mirrors PhotoCraft's photocraft-heif (same team, same decision): heic-rs was chosen over the
|
|
# other permissive candidates (heif-oxide lacks 4:2:2; heifer was published the same week).
|
|
heic-rs = { version = "=0.1.1", default-features = false, features = ["std"] }
|
|
|
|
# The tiles of a HEIC photo decode in parallel on native; wasm stays single-threaded.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
heic-rs = { version = "=0.1.1", default-features = false, features = ["std", "parallel"] }
|
|
|
|
[lints]
|
|
workspace = true
|