forked from Ogeon/palette
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (43 loc) · 1.29 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
[package]
name = "palette"
version = "0.4.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.4.0/palette/"
repository = "https://github.com/Ogeon/palette"
readme = "README.md"
keywords = ["color", "colour", "space", "linear"]
license = "MIT OR Apache-2.0"
build = "build/main.rs"
[features]
default = ["named_from_str", "std"]
named_from_str = ["named", "phf", "phf_codegen", "std"]
named = []
std = ["num-traits/std", "approx/std"]
serializing = ["serde", "std"]
#internal
strict = []
[dependencies]
palette_derive = {version = "0.4.0", path = "../palette_derive"}
num-traits = {version = "0.2", default-features = false}
approx = {version = "0.2", default-features = false}
libm = "0.1.2"
[dependencies.phf]
version = "0.7"
optional = true
[dependencies.serde]
version = "1"
features = ["serde_derive"]
optional = true
[dev-dependencies]
image = "0.19"
clap = "2"
csv = "1.0.0-beta.3"
serde = "1"
serde_derive = "1"
lazy_static = "1"
serde_json = "1"
[build-dependencies.phf_codegen]
version = "0.7"
optional = true