Skip to content

Commit

Permalink
Reorder prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Feb 13, 2023
1 parent 53a1f37 commit f3eb2fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,22 @@ pub mod tcp {
#[cfg(feature = "server")]
pub use crate::server;

#[cfg(feature = "server")]
pub use crate::frame::SlaveRequest;

///////////////////////////////////////////////////////////////////
/// Structs
///////////////////////////////////////////////////////////////////
pub use crate::frame::{Request, Response};
pub use crate::slave::{Slave, SlaveId};

#[cfg(feature = "server")]
pub use crate::frame::SlaveRequest;

///////////////////////////////////////////////////////////////////
/// Traits
///////////////////////////////////////////////////////////////////
pub use crate::client::{Client, Reader, Writer};

pub use crate::slave::SlaveContext;

#[cfg(feature = "sync")]
pub use crate::client::sync::Client as SyncClient;

Expand All @@ -54,5 +56,3 @@ pub use crate::client::sync::Reader as SyncReader;

#[cfg(feature = "sync")]
pub use crate::client::sync::Writer as SyncWriter;

pub use crate::slave::SlaveContext;

0 comments on commit f3eb2fe

Please sign in to comment.