mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-09 09:59:52 -06:00
- brand.toml is the only place the product name lives; every crate and app
reads it through dac-brand (env vars with legacy fallback, settings folder
with copy-only migration, default library, preset extensions, i18n {app})
- cargo xtask brand check|test, run|install|package, docs, rename-crates,
deny and immich; packaging files are templates rendered from brand.toml
- icons regenerated from brand/icon.svg; upstream branding removed
- MIT licence (segment and fetch stay Apache-2.0); cargo deny licence policy
- clean-room rules in AGENTS.md/CLAUDE.md; docs/upstream-merge.md
- plan/ rebuilt and committed; parity tracker reopens Classic rows, adds
PLAN.md section 2 rows and the IMM Immich section; plan/immich.md and a
pinned Immich test server
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
22 lines
969 B
TOML
22 lines
969 B
TOML
[package]
|
|
name = "dac-heif"
|
|
description = "Optional HEIF/HEIC still-image decoder (a thin, panic-guarded wrapper around heic-rs)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
dac-brand = { workspace = true }
|
|
# 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
|