# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "kmeans_colors" version = "0.6.0" authors = ["okaneco <47607823+okaneco@users.noreply.github.com>"] exclude = [ "test", "gfx", ".github", ] description = """ Simple k-means clustering to find dominant colors in images. Backed by a generic k-means implementation offered as a standalone library.""" homepage = "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" repository = "https://github.com/okaneco/kmeans-colors" [package.metadata.docs.rs] features = ["palette_color"] no-default-features = true targets = [] [profile.release] strip = true [dependencies.image] version = "0.24.6" features = [ "jpeg", "png", ] optional = true default-features = false [dependencies.num-traits] version = "0.2.16" features = ["std"] optional = true default-features = false [dependencies.palette] version = "0.7.2" features = ["std"] optional = true default-features = false [dependencies.rand] version = "0.8.5" features = ["std"] default-features = false [dependencies.rand_chacha] version = "0.3.1" default-features = false [dependencies.structopt] version = "0.3.26" optional = true default-features = false [features] app = [ "image", "palette_color", "structopt", ] default = ["app"] palette_color = [ "palette", "num-traits", ]