From b9de416d04bf5da1ca2d889384c176d8a1db9dbf Mon Sep 17 00:00:00 2001 From: phoenix Date: Tue, 22 Apr 2025 20:05:37 -0400 Subject: [PATCH] Cleanup --- src/main.rs | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0343b28..27dd3a4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -104,26 +104,14 @@ pub async fn root() -> &'static str { #[cfg(test)] mod tests { - // use std::os::macos::raw; - use crate::db; - // use base64::Engine; - use std::{time::Duration, usize}; - use tower::ServiceExt; - use tower_http::timeout::TimeoutLayer; - - // use anyhow::Result; - // use axum::body::Body as AxumBody; - // use axum::http::Request; - // use tower::ServiceExt; use common_multipart_rfc7578::client::multipart::{ Body as MultipartBody, Form as MultipartForm, }; - // use http_body_util::BodyExt; - - // Might need later - // use tower::ServiceExt; + use std::{time::Duration, usize}; + use tower::ServiceExt; + use tower_http::timeout::TimeoutLayer; mod db_mgr { use std::str::FromStr;