Cargo Features

shiva-color-rs has no features set by default.

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

Affects shiva-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?
bytemuck implicit feature

Enables bytemuck

bytemuck:

A crate for mucking around with piles of bytes