Cargo Features

color-rs2 has no features set by default.

[dependencies]
color-rs2 = { version = "0.9.0", features = ["kmeans", "bytemuck"] }
kmeans = kmeans_colors, rand

Affects color-rs2::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?

Enables rand ^0.8

bytemuck implicit feature

Enables bytemuck

bytemuck:

A crate for mucking around with piles of bytes