diff --git a/src/collector.rs b/src/collector.rs index 8541abd..99eeaf9 100644 --- a/src/collector.rs +++ b/src/collector.rs @@ -7,8 +7,8 @@ use std::{ }; use curl::easy::{Handler, ReadError, WriteError}; -use tokio::sync::mpsc::Sender; use log::trace; +use tokio::sync::mpsc::Sender; /// This is an information about the transfer(Download/Upload) speed that will be sent across tasks. /// It is useful to get the transfer speed and displayed it according to diff --git a/src/http_client.rs b/src/http_client.rs index 155c365..696d91f 100644 --- a/src/http_client.rs +++ b/src/http_client.rs @@ -1,10 +1,10 @@ use std::{path::Path, time::Duration}; -use log::trace; use async_curl::actor::CurlActor; use curl::easy::{Auth, Easy2, ProxyType, TimeCondition}; use derive_deref_rs::Deref; use http::{header::CONTENT_TYPE, HeaderMap, HeaderValue, Method, StatusCode}; +use log::trace; use crate::{collector::Collector, error::Error, request::HttpRequest, response::HttpResponse};