diff --git a/src/main.rs b/src/main.rs index 3c4cb73..ddff2ee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,14 +3,14 @@ use std::{ cell::SyncUnsafeCell, - io::{self, Cursor, Error, ErrorKind}, + io::{self, Error, ErrorKind}, iter::once, sync::Arc, time::Duration, }; -use axum::{http::StatusCode, routing::get, Router}; -use image::{GenericImage, GenericImageView, Rgb, Rgba}; +use axum::{routing::get, Router}; +use image::{GenericImageView, Rgb}; use tokio::{ io::{AsyncReadExt, AsyncWriteExt, BufReader, BufWriter}, net::TcpListener,