[package]
name = "color"
version.workspace = true
license.workspace = true
edition.workspace = true
description = "A library for representing and manipulating colors"
keywords = ["color", "css", "rgb"]
categories = ["graphics"]
repository.workspace = true
rust-version.workspace = true

[package.metadata.docs.rs]
all-features = true
# There are no platform specific docs.
default-target = "x86_64-unknown-linux-gnu"
targets = []

[features]
default = ["std"]
std = []
libm = ["dep:libm"]
bytemuck = ["dep:bytemuck"]
serde = ["dep:serde"]

[dependencies]

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

[dependencies.libm]
version = "0.2.13"
optional = true

[dependencies.serde]
version = "1.0.219"
optional = true
default-features = false
features = ["derive"]

[lints]
workspace = true
