about summary refs log tree commit diff
path: root/Cargo.toml
blob: e29485f465e04a966e44eb83ac9f440cd42ae2cd (plain)
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
[package]
name = "colorsquash"
version = "0.2.0"
authors = ["gennyble <gen@nyble.dev>", "novedevo <devon@nove.dev>"]
edition = "2021"
license = "ISC"
description = "A crate for quantizing colours with preference to the most frequently occuring"
repository = "https://github.com/gennyble/colorsquash"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rgb = "0.8.36"
gifed = { path = "../gifed/gifed", optional = true }
rand = { version = "0.8.5", optional = true }
kmeans = { version = "0.2.1", optional = true }

[features]
#default = ["simd-kmeans"]
# use the kmeans crate instead of the internal kmeans implementation. the crate
# is faster and uses SIMD but requries nightly Rust.
simd-kmeans = ["kmeans"]

[workspace]
members = ["squash"]