zenpixels-convert 0.2.1

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.93"
name = "zenpixels-convert"
version = "0.2.1"
build = false
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]
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 = "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 = "gamut_convert"
path = "tests/gamut_convert.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 = "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"

[dependencies.archmage]
version = "0.9.12"
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.5"
features = ["transfer"]
default-features = false

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

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

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

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

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

[dev-dependencies.palette]
version = "0.7"

[dev-dependencies.zenpixels]
version = "0.2.1"
features = [
    "planar",
    "imgref",
]