Cargo Features

[dependencies]
okolors = { version = "0.8.1", default-features = false, features = ["threads", "image"] }
default = image, threads

These default features are set whenever okolors is added without default-features = false somewhere in the dependency tree.

threads default

Enables threads of quantette

quantette:

Exposes parallel versions of most algorithms.

Affects internal::unique_oklab_counts_par, internal::wu_palette_par, internal::kmeans_palette_par

image default

Enables image and image of quantette

quantette:

Enables integration with the image crate.

_internal

Exposes the internal module which currently does not follow semantic versioning. This is intended to be used by the Okolors CLI application.

Affects okolors::internal