From f3eb2fe34c6cc90a2270d1ebef1c1c5fdd299650 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Mon, 13 Feb 2023 11:22:55 +0100 Subject: [PATCH] Reorder prelude --- src/prelude.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/prelude.rs b/src/prelude.rs index 773d6e71..cb95c2bf 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -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; @@ -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;