Reorganized client modules
This commit is contained in:
parent
46dc30c045
commit
e6863bd9dd
5 changed files with 183 additions and 178 deletions
|
|
@ -48,16 +48,17 @@ compile_error!(
|
|||
|
||||
mod event;
|
||||
pub use event::Event;
|
||||
mod client;
|
||||
pub mod connect;
|
||||
pub mod proto;
|
||||
|
||||
pub use client::async_client::Client;
|
||||
mod client;
|
||||
pub use client::Client;
|
||||
|
||||
#[cfg(feature = "insecure-tcp")]
|
||||
mod component;
|
||||
#[cfg(feature = "insecure-tcp")]
|
||||
pub use crate::component::Component;
|
||||
|
||||
/// Detailed error types
|
||||
pub mod error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue