| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.60.0" |
| 15 |
name = "palette" |
| 16 |
version = "0.7.6" |
| 17 |
authors = ["Erik Hedvall <[email protected]>"] |
| 18 |
build = "build/main.rs" |
| 19 |
exclude = [ |
| 20 |
"scripts/*", |
| 21 |
"examples/*", |
| 22 |
"tests/*", |
| 23 |
"regression_tests/*", |
| 24 |
"benches/*", |
| 25 |
"res/*", |
| 26 |
".travis.yml", |
| 27 |
".gitignore", |
| 28 |
"CHANGELOG.md", |
| 29 |
"CONTRIBUTING.md", |
| 30 |
"version.sh", |
| 31 |
] |
| 32 |
description = "Convert and manage colors with a focus on correctness, flexibility and ease of use." |
| 33 |
documentation = "https://docs.rs/palette/0.7.6/palette/" |
| 34 |
readme = "README.md" |
| 35 |
keywords = [ |
| 36 |
"color", |
| 37 |
"conversion", |
| 38 |
"linear", |
| 39 |
"pixel", |
| 40 |
"rgb", |
| 41 |
] |
| 42 |
categories = [ |
| 43 |
"graphics", |
| 44 |
"multimedia::images", |
| 45 |
"no-std", |
| 46 |
] |
| 47 |
license = "MIT OR Apache-2.0" |
| 48 |
repository = "https://github.com/Ogeon/palette" |
| 49 |
resolver = "2" |
| 50 |
|
| 51 |
[package.metadata.docs.rs] |
| 52 |
all-features = true |
| 53 |
|
| 54 |
[lib] |
| 55 |
bench = false |
| 56 |
|
| 57 |
[dependencies.approx] |
| 58 |
version = "0.5" |
| 59 |
optional = true |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dependencies.bytemuck] |
| 63 |
version = "1" |
| 64 |
optional = true |
| 65 |
|
| 66 |
[dependencies.fast-srgb8] |
| 67 |
version = "1.0.0" |
| 68 |
|
| 69 |
[dependencies.libm] |
| 70 |
version = "0.2.1" |
| 71 |
optional = true |
| 72 |
default-features = false |
| 73 |
|
| 74 |
[dependencies.palette_derive] |
| 75 |
version = "0.7.6" |
| 76 |
|
| 77 |
[dependencies.phf] |
| 78 |
version = "0.11.0" |
| 79 |
features = ["macros"] |
| 80 |
optional = true |
| 81 |
default-features = false |
| 82 |
|
| 83 |
[dependencies.rand] |
| 84 |
version = "0.8" |
| 85 |
optional = true |
| 86 |
default-features = false |
| 87 |
|
| 88 |
[dependencies.serde] |
| 89 |
version = "1" |
| 90 |
features = ["serde_derive"] |
| 91 |
optional = true |
| 92 |
|
| 93 |
[dependencies.wide] |
| •94 |
version = "1" |
| 95 |
optional = true |
| 96 |
default-features = false |
| 97 |
|
| 98 |
[dev-dependencies.image] |
| •99 |
version = "0.25" |
| 100 |
features = ["png"] |
| 101 |
default-features = false |
| 102 |
|
| 103 |
[dev-dependencies.ron] |
| 104 |
version = "0.12" |
| 105 |
|
| 106 |
[dev-dependencies.serde_json] |
| 107 |
version = "1" |
| 108 |
|
| 109 |
[features] |
| 110 |
alloc = [] |
| 111 |
default = [ |
| •112 |
"named_from_str", |
| 113 |
"std", |
| 114 |
"approx", |
| 115 |
] |
| 116 |
find-crate = ["palette_derive/find-crate"] |
| 117 |
named = [] |
| 118 |
named_from_str = [ |
| 119 |
"named", |
| 120 |
"phf", |
| 121 |
] |
| 122 |
random = ["rand"] |
| 123 |
serializing = [ |
| 124 |
"serde", |
| 125 |
"std", |
| 126 |
] |
| 127 |
std = [ |
| 128 |
"alloc", |
| 129 |
"approx?/std", |
| 130 |
] |