-
Notifications
You must be signed in to change notification settings - Fork 59
/
Cargo.toml
64 lines (53 loc) · 1.58 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "palette"
version = "0.5.0" #automatically updated
authors = ["Erik Hedvall <hello@erikhedvall.nu>"]
exclude = ["scripts/*", "examples/*", "tests/*", "res/*", ".travis.yml", ".gitignore", "CHANGELOG.md", "CONTRIBUTING.md", "version.sh"]
description = "Makes linear color calculations and conversion easy and accessible for anyone."
documentation = "https://docs.rs/palette/0.5.0/palette/"
repository = "https://github.com/Ogeon/palette"
readme = "README.md"
keywords = ["color", "conversion", "linear", "pixel", "rgb"]
license = "MIT OR Apache-2.0"
edition = "2018"
categories = ["graphics", "multimedia::images", "no-std"]
build = "build/main.rs"
[features]
default = ["named_from_str", "std"]
named_from_str = ["named", "phf", "phf_codegen", "std"]
named = []
random = ["rand"]
serializing = ["serde", "std"]
#ignore in feature test
std = ["approx/std", "num-traits/std"]
libm = ["num-traits/libm"]
[dependencies]
palette_derive = {version = "0.5.0", path = "../palette_derive"}
num-traits = {version = "0.2", default-features = false}
approx = {version = "0.3", default-features = false}
[dependencies.phf]
version = "0.8"
optional = true
[dependencies.rand]
version = "0.7"
default-features = false
optional = true
[dependencies.serde]
version = "1"
features = ["serde_derive"]
optional = true
[dev-dependencies]
csv = "1"
lazy_static = "1"
serde = "1"
serde_derive = "1"
serde_json = "1"
[dev-dependencies.clap]
version = "2"
default-features = false
[dev-dependencies.image]
version = "0.22"
default-features = false
[build-dependencies.phf_codegen]
version = "0.8"
optional = true