Cargo Features

color-rs has no features set by default.

[dependencies]
color-rs = { version = "0.8.0", features = ["kmeans"] }
kmeans = kmeans_colors, rand

Affects color-rs::kmeans

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.

kmeans_colors kmeans?

Enables kmeans_colors ^0.5

rand kmeans?