-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
38 lines (33 loc) · 1.02 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
[package]
name = "csscolorparser"
version = "0.7.0"
authors = ["Nor Khasyatillah <[email protected]>"]
edition = "2018"
description = "CSS color parser library"
readme = "README.md"
repository = "https://github.com/mazznoer/csscolorparser-rs"
documentation = "https://docs.rs/csscolorparser/"
license = "MIT OR Apache-2.0"
keywords = ["color", "colour", "css", "parser"]
categories = ["graphics", "parser-implementations"]
exclude = [
".github/*",
"tests/*",
]
[package.metadata.docs.rs]
features = ["named-colors", "lab", "rust-rgb", "cint", "serde"]
[features]
default = ["named-colors"]
named-colors = ["phf"]
rust-rgb = ["rgb"]
[[test]]
name = "named_colors"
required-features = ["named-colors"]
[dependencies]
cint = { version = "^0.3.1", optional = true }
lab = { version = "0.11.0", optional = true }
phf = { version = "0.11.0", optional = true, features = ["macros"] }
rgb = { version = "0.8.33", optional = true }
serde = { version = "1.0.139", optional = true, features = ["derive"] }
[dev-dependencies]
serde_test = "1.0.139"