[package]
name = "kolor-64"
version = "0.1.8"
authors = ["Karl Bergström <karl.anton.bergstrom@gmail.com>"]
edition = "2018"
description = "Color conversions for games & interactive applications."
keywords = ["game", "color", "colors", "graphics", "rgb"]
categories = ["graphics", "computer-vision"]
repository = "https://github.com/kabergstrom/kolor"
readme = "README.md"
license = "MIT OR Apache-2.0"

[lib]
name = "kolor_64"
path = "kolor/src/lib.rs"
required-features = ["f64"]

[dependencies]
serde = { optional = true, version = "1", features = ["derive"] }
num-traits = { version = "^0.2.14", optional = true, default-features = false }
glam = { version = "0.17.1", default-features = false, optional = true }

[features]
default = ["color-matrices", "f64", "std-glam"]
serde1 = ["serde", "glam/serde"]
color-matrices = []
f64 = []
std = []
std-glam = ["std", "glam/std"]
libm = ["num-traits", "num-traits/libm"]
libm-glam = ["libm", "glam/libm"]
