diff --git a/src/downloader.rs b/src/downloader.rs index b7f4c84..1b40797 100644 --- a/src/downloader.rs +++ b/src/downloader.rs @@ -1,7 +1,7 @@ use crate::state::AppState; use std::{io::Read, sync::Arc, time::Duration}; use stream_download::{ - source::DecodeError, storage::temp::TempStorageProvider, Settings, StreamDownload, + Settings, StreamDownload, source::DecodeError, storage::temp::TempStorageProvider, }; use tokio::sync::mpsc; diff --git a/src/main.rs b/src/main.rs index 4505eff..d2037b0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ mod downloader; mod state; mod streamer; -use axum::{extract::State, routing::get, Router}; +use axum::{Router, extract::State, routing::get}; use state::AppState; use std::sync::Arc;