colr 0.2.0

A general purpose, extensible color type unifying color models and their operations at the type level.
# 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.85"
name = "colr"
version = "0.2.0"
authors = ["Chay Nabors <git@chaynabors.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A general purpose, extensible color type unifying color models and their operations at the type level."
readme = "README.md"
keywords = [
    "color",
    "colorspace",
    "rgb",
    "oklab",
    "hdr",
]
categories = [
    "graphics",
    "rendering",
    "science",
    "multimedia",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/chaynabors/colr"
resolver = "2"

[features]
default = ["std"]
glam = [
    "dep:glam",
    "colr-types/glam",
]
libm = ["colr-types/libm"]
std = ["colr-types/std"]

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

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

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

[dependencies.colr-types]
version = "0.2.0"

[dependencies.glam]
version = "0.32"
optional = true

[dev-dependencies.glam]
version = "0.32"

[dev-dependencies.png]
version = "0.17"

[dev-dependencies.rayon]
version = "1.11"