ph-color-bake 0.1.0

Host-side generator for auditable ph-color matrices, fixed-point LUTs, and golden vectors
Documentation
  • Coverage
  • 100%
    48 out of 48 items documented0 out of 29 items with examples
  • Size
  • Source code size: 47.6 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 664.6 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • photon-circus/ph-color
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • swgiacomelli

ph-color-bake

Host baker for ph-color.

crates.io docs.rs

[!NOTE] Lifecycle: Active Distribution: Version 0.1.0 on crates.io, with API documentation on docs.rs. Model conformance: N/A Physical evidence: N/A

This package runs on the host with std and f64. It derives gamut matrices and transfer LUTs and emits Rust const tables with MAX_ERR_LSB. It is never linked into a target firmware build.

[dependencies]
ph-color-bake = "0.1"

MSRV is Rust 1.94.0, edition 2024. This package requires std and uses f64; it is host tooling and must not be linked into target firmware.

The binary emits Matrix3 and InterpLut const source on --emit-rust, including sRGB OETF/EOTF tables. --emit-oklab-module emits the checked-in Oklab matrix and cube-root LUT module, while cargo xtask generate writes that artifact through the repository workflow. --emit-golden writes frozen CSV vectors under crates/color/tests/golden/.

ph-color-bake --emit-rust
ph-color-bake --emit-oklab-module

License

MIT