linear-srgb 0.4.0

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.92"
name = "linear-srgb"
version = "0.4.0"
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"

[features]
alt = []
default = ["std"]
mage = ["dep:archmage"]
std = [
    "num-traits/std",
    "multiversion/std",
]
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 = "generate_all_luts"
path = "examples/generate_all_luts.rs"
required-features = ["std"]

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

[dependencies.archmage]
version = "0.2"
features = [
    "macros",
    "avx512",
    "std",
]
optional = true
default-features = false

[dependencies.bytemuck]
version = "1.21"

[dependencies.multiversed]
version = "0.1"
features = [
    "x86-64-v3",
    "x86-64-v4",
    "aarch64-basic",
]
default-features = false

[dependencies.multiversion]
version = "0.8"
default-features = false

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

[dependencies.wide]
version = "1.1"

[dev-dependencies.criterion]
version = "0.8"