linear-srgb 0.6.2

Fast linear↔sRGB color space conversion with FMA acceleration and LUT support
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 = "linear-srgb"
version = "0.6.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast linear↔sRGB color space conversion with FMA acceleration and LUT support"
readme = "README.md"
keywords = [
    "color",
    "srgb",
    "linear",
    "gamma",
    "conversion",
]
categories = [
    "graphics",
    "multimedia::images",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/imazen/linear-srgb"

[package.metadata.docs.rs]
all-features = true

[features]
alt = []
avx512 = [
    "archmage/avx512",
    "magetypes/avx512",
]
default = [
    "std",
    "avx512",
]
iec = []
std = [
    "num-traits/std",
    "archmage/std",
    "magetypes/std",
]
transfer = []
unsafe_simd = []

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

[[example]]
name = "accuracy_comparison"
path = "examples/accuracy_comparison.rs"
required-features = [
    "std",
    "alt",
]

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "brute_force_accuracy"
path = "examples/brute_force_accuracy.rs"

[[example]]
name = "discontinuity_investigation"
path = "examples/discontinuity_investigation.rs"

[[example]]
name = "generate_all_luts"
path = "examples/generate_all_luts.rs"
required-features = ["std"]

[[example]]
name = "generate_poly_coeffs"
path = "examples/generate_poly_coeffs.rs"

[[example]]
name = "threshold_experiment"
path = "examples/threshold_experiment.rs"

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

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

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

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

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

[dependencies.bytemuck]
version = "1.21"

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

[dependencies.num-traits]
version = "0.2"
features = ["libm"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8"