diff --git a/aquatic_http/src/lib/common.rs b/aquatic_http/src/lib/common.rs index 67edb55..b64d30e 100644 --- a/aquatic_http/src/lib/common.rs +++ b/aquatic_http/src/lib/common.rs @@ -27,7 +27,6 @@ use aquatic_http_protocol::{ response::{AnnounceResponse, ScrapeResponse}, }; - #[derive(Copy, Clone, Debug)] pub struct ConsumerId(pub usize); @@ -291,4 +290,4 @@ mod tests { assert_eq!(f(101), 3); assert_eq!(f(1000), 4); } -} \ No newline at end of file +} diff --git a/aquatic_http/src/lib/handlers.rs b/aquatic_http/src/lib/handlers.rs index b636fff..dd2d6ed 100644 --- a/aquatic_http/src/lib/handlers.rs +++ b/aquatic_http/src/lib/handlers.rs @@ -357,4 +357,4 @@ pub fn handle_scrape_request( }; response -} \ No newline at end of file +} diff --git a/aquatic_http/src/lib/lib.rs b/aquatic_http/src/lib/lib.rs index 62ac41f..7ec1224 100644 --- a/aquatic_http/src/lib/lib.rs +++ b/aquatic_http/src/lib/lib.rs @@ -9,8 +9,8 @@ use glommio::{channels::channel_mesh::MeshBuilder, prelude::*}; use crate::config::Config; -pub mod config; mod common; +pub mod config; mod handlers; mod network; @@ -140,4 +140,4 @@ fn create_tls_config(config: &Config) -> anyhow::Result { .with_single_cert(certs, private_key)?; Ok(tls_config) -} \ No newline at end of file +}