From 3b2b22e590a6cfb847eec46eea5977f7a3794ac0 Mon Sep 17 00:00:00 2001 From: gennyble Date: Sun, 14 Jan 2024 07:56:11 -0600 Subject: squash: squash warnings --- squash/src/image.rs | 2 +- squash/src/main.rs | 3 +-- 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, }; -- cgit 1.4.1-3-g733a5