refactor: move response.rs to client mod

This commit is contained in:
DarkCat09 2024-08-08 15:35:38 +04:00
parent e14efd6091
commit de4903f1e6
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3
3 changed files with 4 additions and 3 deletions

View file

@ -1,8 +1,11 @@
//! Everything related to Gemini client except cert verification //! Everything related to Gemini client except cert verification
pub mod builder; pub mod builder;
pub mod response;
use crate::{error::*, response::Response, status::*}; pub use response::Response;
use crate::{error::*, status::*};
use builder::ClientBuilder; use builder::ClientBuilder;
use std::net::ToSocketAddrs; use std::net::ToSocketAddrs;

View file

@ -4,10 +4,8 @@
pub mod certs; pub mod certs;
pub mod client; pub mod client;
pub mod error; pub mod error;
pub mod response;
pub mod status; pub mod status;
pub use client::Client; pub use client::Client;
pub use error::*; pub use error::*;
pub use response::Response;
pub use status::*; pub use status::*;