Cargo Features

[dependencies]
kmeans_colors = { version = "0.7.0", default-features = false, features = ["app", "palette_color"] }
default = app

Use default-features=false if using as a library

app default = image, palette_color, structopt

Features required for building the binary

palette_color app = fxhash, num-traits, palette

Enable palette color types

Affects kmeans::MapColor

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

fxhash palette_color?
image app
num-traits palette_color?
palette palette_color?
structopt app