From de4903f1e60cee38fd1bc4e7d20f8d4295821b1a Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 8 Aug 2024 15:35:38 +0400 Subject: [PATCH] refactor: move response.rs to client mod --- src/client/mod.rs | 5 ++++- src/{ => client}/response.rs | 0 src/lib.rs | 2 -- 3 files changed, 4 insertions(+), 3 deletions(-) rename src/{ => client}/response.rs (100%) diff --git a/src/client/mod.rs b/src/client/mod.rs index cc5c857..f13f865 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -1,8 +1,11 @@ //! Everything related to Gemini client except cert verification pub mod builder; +pub mod response; -use crate::{error::*, response::Response, status::*}; +pub use response::Response; + +use crate::{error::*, status::*}; use builder::ClientBuilder; use std::net::ToSocketAddrs; diff --git a/src/response.rs b/src/client/response.rs similarity index 100% rename from src/response.rs rename to src/client/response.rs diff --git a/src/lib.rs b/src/lib.rs index 6171cb6..9b77efc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,10 +4,8 @@ pub mod certs; pub mod client; pub mod error; -pub mod response; pub mod status; pub use client::Client; pub use error::*; -pub use response::Response; pub use status::*;