about summary refs log tree commit diff
path: root/squash
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2024-01-14 07:56:11 -0600
committergennyble <gen@nyble.dev>2024-01-14 07:56:11 -0600
commit3b2b22e590a6cfb847eec46eea5977f7a3794ac0 (patch)
tree1022775c47cc33874b487de3f798db92e90b1c4b /squash
parentf64539de1f0acbb2246f4f2094f1be3b8aea9b0f (diff)
downloadcolorsquash-3b2b22e590a6cfb847eec46eea5977f7a3794ac0.tar.gz
colorsquash-3b2b22e590a6cfb847eec46eea5977f7a3794ac0.zip
squash: squash warnings
Diffstat (limited to 'squash')
-rw-r--r--squash/src/image.rs2
-rw-r--r--squash/src/main.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/squash/src/image.rs b/squash/src/image.rs
index ff6650f..5c7b45a 100644
--- a/squash/src/image.rs
+++ b/squash/src/image.rs
@@ -2,7 +2,7 @@ use std::{fs::File, io::BufWriter};
 
 use anyhow::{anyhow, bail};
 use camino::{Utf8Path, Utf8PathBuf};
-use colorsquash::{selection::SortSelect, Squasher};
+use colorsquash::Squasher;
 use gifed::{writer::ImageBuilder, Gif};
 use png::{ColorType, Decoder, Encoder};
 use zune_jpeg::{zune_core::colorspace::ColorSpace, JpegDecoder};
diff --git a/squash/src/main.rs b/squash/src/main.rs
index b443f57..a7cc66b 100644
--- a/squash/src/main.rs
+++ b/squash/src/main.rs
@@ -1,6 +1,5 @@
-use cli::DifferenceFn;
 use colorsquash::{
-	selection::{Kmeans, Selector, SortSelect},
+	selection::{Kmeans, SortSelect},
 	SquasherBuilder,
 };