Sergey Konev
a8d83b9bab
Some checks failed
Continuous integration / Tests (push) Blocked by required conditions
Continuous integration / Tests (windows-latest) (push) Waiting to run
Continuous integration / Check clippy, formatting, and documentation (push) Failing after 20s
Continuous integration / Tests (ubuntu-latest) (push) Failing after 22s
Continuous integration / Check fuzzers (push) Failing after 18s
Continuous integration / Check mininum Rust version (push) Failing after 20s
139 lines
2.5 KiB
TOML
139 lines
2.5 KiB
TOML
# 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 = "2018"
|
|
rust-version = "1.60.0"
|
|
name = "palette"
|
|
version = "0.7.6"
|
|
authors = ["Erik Hedvall <hello@erikhedvall.nu>"]
|
|
build = "build/main.rs"
|
|
exclude = [
|
|
"scripts/*",
|
|
"examples/*",
|
|
"tests/*",
|
|
"regression_tests/*",
|
|
"benches/*",
|
|
"res/*",
|
|
".travis.yml",
|
|
".gitignore",
|
|
"CHANGELOG.md",
|
|
"CONTRIBUTING.md",
|
|
"version.sh",
|
|
]
|
|
description = "Convert and manage colors with a focus on correctness, flexibility and ease of use."
|
|
documentation = "https://docs.rs/palette/0.7.6/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"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[dependencies.approx]
|
|
version = "0.5"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.bytemuck]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[dependencies.fast-srgb8]
|
|
version = "1.0.0"
|
|
|
|
[dependencies.libm]
|
|
version = "0.2.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.palette_derive]
|
|
version = "0.7.6"
|
|
|
|
[dependencies.phf]
|
|
version = "0.11.0"
|
|
features = ["macros"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.rand]
|
|
version = "0.8"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
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"
|
|
features = ["rand-traits"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.ron]
|
|
version = "=0.8.0"
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1"
|
|
|
|
[features]
|
|
alloc = []
|
|
default = [
|
|
"named_from_str",
|
|
"std",
|
|
"approx",
|
|
]
|
|
find-crate = ["palette_derive/find-crate"]
|
|
named = []
|
|
named_from_str = [
|
|
"named",
|
|
"phf",
|
|
]
|
|
random = ["rand"]
|
|
serializing = [
|
|
"serde",
|
|
"std",
|
|
]
|
|
std = [
|
|
"alloc",
|
|
"approx?/std",
|
|
]
|