missing import + ci fixes

This commit is contained in:
peppidesu 2024-10-19 16:02:55 +02:00
parent 9fde688bcc
commit 0c00b7e9bf
No known key found for this signature in database
GPG key ID: 4E9BA776E329260F
2 changed files with 4 additions and 7 deletions

View file

@ -1,4 +1,4 @@
use std::{cell::SyncUnsafeCell}; use std::cell::SyncUnsafeCell;
use image::{GenericImageView, Rgb}; use image::{GenericImageView, Rgb};
use tokio::sync::{RwLock, RwLockReadGuard}; use tokio::sync::{RwLock, RwLockReadGuard};

View file

@ -1,8 +1,7 @@
use std::{ use std::{
collections::VecDeque,
convert::Infallible, convert::Infallible,
fs::{create_dir_all, File}, fs::{create_dir_all, File},
io::{self}, io::{self, Write as _},
path::Path, path::Path,
sync::Arc, sync::Arc,
time::Duration, time::Duration,
@ -15,11 +14,9 @@ use flurry::{
grid::{self, Flut}, grid::{self, Flut},
COUNTER, COUNTER,
}; };
use image::{codecs::jpeg::JpegEncoder, GenericImageView, SubImage}; use tokio::{
use tokio::{
io::{AsyncReadExt, AsyncWriteExt, BufReader, BufWriter},
net::TcpListener, net::TcpListener,
time::{interval, sleep, timeout, Instant}, time::interval
}; };
type Never = Infallible; type Never = Infallible;