[package] name = "colorsquash" version = "0.2.0" authors = ["gennyble ", "novedevo "] 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"]