Cargo Features
[dependencies]
quantette = { version = "0.5.1", default-features = false, features = ["kmeans", "std", "threads", "image", "tap"] }
- default = image, kmeans, threads
-
These default features are set whenever
quantetteis added withoutsomewhere in the dependency tree.default-features = false - kmeans default = rand, rand_xoshiro
-
Exposes kmeans as an alternative quatization method which gives higher quality results but is slower to run.
Affects
quantize::kmeans… - std image threads
-
Enable use of the Rust std lib
Enables std of num-traits and wide ^0.8.1
- threads default = rayon, std
-
Exposes parallel versions of most algorithms.
- image default = std
-
Enables integration with the
imagecrate.Enables image
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.