palette 0.7.7

Convert and manage colors with a focus on correctness, flexibility and ease of use.
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 = "2021"
rust-version = "1.71.0"
name = "palette"
version = "0.7.7"
authors = ["Erik Hedvall <hello@erikhedvall.nu>"]
build = false
exclude = [
    "scripts/*",
    "examples/*",
    "tests/*",
    "regression_tests/*",
    "benches/*",
    "res/*",
    ".travis.yml",
    ".gitignore",
    "CHANGELOG.md",
    "CONTRIBUTING.md",
    "version.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert and manage colors with a focus on correctness, flexibility and ease of use."
documentation = "https://docs.rs/palette/0.7.7/palette/"
readme = "README.md"
keywords = [
    "color",
    "conversion",
    "linear",
    "pixel",
    "rgb",
]
categories = [
    "graphics",
    "multimedia::images",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ogeon/palette"

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

[features]
alloc = ["palette_math/alloc"]
default = [
    "named_from_str",
    "std",
    "approx",
]
find-crate = ["palette_derive/find-crate"]
libm = [
    "dep:libm",
    "palette_math/libm",
]
named = ["phf"]
named_from_str = ["named"]
random = ["rand"]
serializing = [
    "serde",
    "std",
]
std = [
    "alloc",
    "approx?/std",
    "palette_math/std",
]
wide = [
    "dep:wide",
    "palette_math/wide",
]

[lib]
name = "palette"
path = "src/lib.rs"
bench = false

[dependencies.approx]
version = "0.5.0"
optional = true
default-features = false

[dependencies.bytemuck]
version = "1.0.0"
optional = true

[dependencies.libm]
version = "0.2.1"
optional = true
default-features = false

[dependencies.palette_derive]
version = "0.7.7"

[dependencies.palette_math]
version = "0.7.7"
default-features = false

[dependencies.phf]
version = "0.13.1"
optional = true
default-features = false

[dependencies.rand]
version = "0.8.0"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.103"
features = ["serde_derive"]
optional = true

[dependencies.wide]
version = "0.7.3"
optional = true
default-features = false

[dev-dependencies.enterpolation]
version = "0.2.0"

[dev-dependencies.image]
version = "0.23.14"
features = ["png"]
default-features = false

[dev-dependencies.rand_mt]
version = "4.0.0"
features = ["rand-traits"]
default-features = false

[dev-dependencies.ron]
version = "0.8.0"

[dev-dependencies.serde_json]
version = "1.0.0"