zenpixels-convert 0.2.11

Transfer-function-aware pixel conversion, gamut mapping, and codec format negotiation for zenpixels
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "zenpixels-convert"
version = "0.2.11"
build = false
include = [
    "/src/**",
    "/tests/**",
    "/benches/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transfer-function-aware pixel conversion, gamut mapping, and codec format negotiation for zenpixels"
readme = "README.md"
keywords = [
    "image",
    "pixel",
    "conversion",
    "srgb",
    "codec",
]
categories = ["multimedia::images"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/imazen/zenpixels"
resolver = "2"

[features]
__bench_u16_hybrids = []
__trace_ops = ["std"]
cms-moxcms = [
    "std",
    "dep:moxcms",
]
default = ["std"]
imgref = [
    "zenpixels/imgref",
    "rgb",
]
pipeline = []
planar = ["zenpixels/planar"]
rgb = [
    "zenpixels/rgb",
    "dep:rgb",
]
serde = ["zenpixels/serde"]
std = [
    "zenpixels/std",
    "linear-srgb/std",
    "garb/std",
]

[lib]
name = "zenpixels_convert"
path = "src/lib.rs"

[[test]]
name = "adapt"
path = "tests/adapt.rs"

[[test]]
name = "adapt_extended"
path = "tests/adapt_extended.rs"

[[test]]
name = "cbrt_compare"
path = "tests/cbrt_compare.rs"

[[test]]
name = "cicp_flag_impact"
path = "tests/cicp_flag_impact.rs"

[[test]]
name = "cicp_transfer_correctness"
path = "tests/cicp_transfer_correctness.rs"

[[test]]
name = "cms_corpus_profiles"
path = "tests/cms_corpus_profiles.rs"

[[test]]
name = "cms_moxcms"
path = "tests/cms_moxcms.rs"

[[test]]
name = "cms_real_profiles"
path = "tests/cms_real_profiles.rs"

[[test]]
name = "gamma22_transfer"
path = "tests/gamma22_transfer.rs"

[[test]]
name = "gamut_convert"
path = "tests/gamut_convert.rs"

[[test]]
name = "luma_coefficients"
path = "tests/luma_coefficients.rs"

[[test]]
name = "matrix_verification"
path = "tests/matrix_verification.rs"

[[test]]
name = "matte_composite_linearize"
path = "tests/matte_composite_linearize.rs"

[[test]]
name = "matte_composite_premul"
path = "tests/matte_composite_premul.rs"

[[test]]
name = "negotiate"
path = "tests/negotiate.rs"

[[test]]
name = "output_finalize"
path = "tests/output_finalize.rs"

[[test]]
name = "palette_crossval"
path = "tests/palette_crossval.rs"

[[test]]
name = "path_validation"
path = "tests/path_validation.rs"

[[test]]
name = "perceptual_loss"
path = "tests/perceptual_loss.rs"

[[test]]
name = "plan_validation"
path = "tests/plan_validation.rs"

[[test]]
name = "planner_silent_passthrough"
path = "tests/planner_silent_passthrough.rs"

[[test]]
name = "registry_validation"
path = "tests/registry_validation.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[[test]]
name = "transfer"
path = "tests/transfer.rs"

[[test]]
name = "ulp_exhaustive"
path = "tests/ulp_exhaustive.rs"

[[bench]]
name = "bench_cms"
path = "benches/bench_cms.rs"
harness = false
required-features = ["cms-moxcms"]

[[bench]]
name = "bench_hlg_regress"
path = "benches/bench_hlg_regress.rs"
harness = false

[[bench]]
name = "bench_matlut_vs_poly"
path = "benches/bench_matlut_vs_poly.rs"
harness = false

[[bench]]
name = "bench_premul_u16"
path = "benches/bench_premul_u16.rs"
harness = false

[[bench]]
name = "bench_t1_layout"
path = "benches/bench_t1_layout.rs"
harness = false

[[bench]]
name = "bench_t2_depth"
path = "benches/bench_t2_depth.rs"
harness = false

[[bench]]
name = "bench_t3_tf_fused"
path = "benches/bench_t3_tf_fused.rs"
harness = false

[[bench]]
name = "bench_t4_tf_f32"
path = "benches/bench_t4_tf_f32.rs"
harness = false

[[bench]]
name = "bench_t5_alpha"
path = "benches/bench_t5_alpha.rs"
harness = false

[[bench]]
name = "bench_t6_oklab"
path = "benches/bench_t6_oklab.rs"
harness = false

[[bench]]
name = "bench_t7_gamut"
path = "benches/bench_t7_gamut.rs"
harness = false

[[bench]]
name = "bench_u16_encode"
path = "benches/bench_u16_encode.rs"
harness = false

[[bench]]
name = "bench_u16_hybrids"
path = "benches/bench_u16_hybrids.rs"
harness = false
required-features = ["__bench_u16_hybrids"]

[dependencies.archmage]
version = "0.9.15"
default-features = false

[dependencies.bytemuck]
version = "1.21"
features = [
    "extern_crate_alloc",
    "derive",
]
default-features = false

[dependencies.garb]
version = "0.2.5"
features = ["experimental"]
default-features = false

[dependencies.linear-srgb]
version = "0.6.12"
features = ["transfer"]
default-features = false

[dependencies.magetypes]
version = "0.9.18"
default-features = false

[dependencies.moxcms]
version = "0.8.1"
features = ["options"]
optional = true

[dependencies.once_cell]
version = "1.21.4"
features = [
    "race",
    "alloc",
]
default-features = false

[dependencies.paste]
version = "1.0.15"

[dependencies.rgb]
version = "0.8"
features = ["bytemuck"]
optional = true
default-features = false

[dependencies.whereat]
version = "0.1.5"
default-features = false

[dependencies.zenpixels]
version = "0.2.11"
features = ["icc"]
default-features = false

[dev-dependencies.half]
version = "2.7.1"

[dev-dependencies.palette]
version = "0.7"
features = [
    "std",
    "approx",
]
default-features = false

[dev-dependencies.zenbench]
version = "0.1.2"

[dev-dependencies.zenpixels]
version = "0.2.11"
features = [
    "planar",
    "imgref",
]
default-features = false