diff options
Diffstat (limited to 'src/nih_kmeans.rs')
-rw-r--r-- | src/nih_kmeans.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nih_kmeans.rs b/src/nih_kmeans.rs index a34d528..ee752bc 100644 --- a/src/nih_kmeans.rs +++ b/src/nih_kmeans.rs @@ -1,6 +1,6 @@ use std::collections::HashMap; -#[cfg(rand)] +#[cfg(feature = "rand")] use rand::{prelude::*, seq::index::sample}; use rgb::{RGB, RGB8}; |