diff options
author | gennyble <gen@nyble.dev> | 2024-01-16 15:06:29 -0600 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2024-01-16 15:06:29 -0600 |
commit | c887f5fef803e720052898b9561028dfd50e51db (patch) | |
tree | 0ea9c8c9e6c4603d0626bc12e653b6421f16f78a /src/lib.rs | |
parent | bbbac45d835dd40c3fb53f8c7f9a2731783841e8 (diff) | |
download | colorsquash-c887f5fef803e720052898b9561028dfd50e51db.tar.gz colorsquash-c887f5fef803e720052898b9561028dfd50e51db.zip |
ability to choose kmeans implementation
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index 9ab6b5c..cbecf76 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,6 +3,7 @@ use std::collections::HashSet; use rgb::{ComponentBytes, FromSlice, RGB8}; pub mod difference; +#[cfg(not(feature = "simd-kmeans"))] mod nih_kmeans; pub mod selection; |