mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-30 18:27:29 +01:00
craft-cms was extracted from crates/cms (storytold/craft-libs#779), and both copies changed afterwards. storytold/craft-libs#PRNUM ports the 41 commits made here since the extraction, so the shared crate now has everything this copy had, and PhotoCraft depends on it. craft-cms returns errors where the local crate panicked on caller input: transforms, tables and LUT constructors return Result. Call sites propagate the error where the function already returns one, and fall back where the arguments are fixed by construction (each with a comment saying why). Lut3d's fields are private there; the proof and HDR display table is built with Lut3d::from_fn. The pin is the head of the craft-libs branch and moves to main when that pull request merges.
29 lines
643 B
TOML
29 lines
643 B
TOML
[package]
|
|
name = "photocraft-compose"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
photocraft-geom = { workspace = true }
|
|
photocraft-color = { workspace = true }
|
|
photocraft-raster = { workspace = true }
|
|
photocraft-doc = { workspace = true }
|
|
photocraft-vector = { workspace = true }
|
|
craft-cms = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
rayon = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
proptest = { workspace = true }
|
|
criterion = { workspace = true }
|
|
photocraft-paint = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "compose"
|
|
harness = false
|