-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
73 lines (61 loc) · 1.63 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
65
66
67
68
69
70
71
72
73
[package]
name = "kmeans_colors"
version = "0.6.0"
authors = ["okaneco <47607823+okaneco@users.noreply.github.com>"]
edition = "2018"
exclude = ["test", "gfx", ".github"]
homepage = "https://github.com/okaneco/kmeans-colors"
repository = "https://github.com/okaneco/kmeans-colors"
readme = "README.md"
keywords = ["kmeans", "clustering", "lab", "color", "rgb"]
categories = ["graphics", "multimedia::images", "mathematics"]
license = "MIT OR Apache-2.0"
description = """Simple k-means clustering to find dominant colors in images.
Backed by a generic k-means implementation offered as a standalone library."""
[features]
# Use default-features=false if using as a library
default = ["app"]
# Features required for building the binary
app = [
"image",
"palette_color",
"structopt",
]
# Enable `palette` color types
palette_color = ["palette", "num-traits", "fxhash"]
[dependencies.fxhash]
version = "0.2.1"
default-features = false
optional = true
[dependencies.image]
version = "0.24.6"
default-features = false
features = ["jpeg", "png"]
optional = true
[dependencies.palette]
version = "0.7.3"
default-features = false
features = ["std"]
optional = true
[dependencies.num-traits]
version = "0.2.16"
default-features = false
features = ["std"]
optional = true
[dependencies.rand]
version = "0.8.5"
default-features = false
features = ["std"]
[dependencies.rand_chacha]
version = "0.3.1"
default-features = false
[dependencies.structopt]
version = "0.3.26"
default-features = false
optional = true
[profile.release]
strip = true
[package.metadata.docs.rs]
no-default-features = true
features = ["palette_color"]
targets = []