From 1828c16766a158bf881d0ca1d5ae1a479ad0a000 Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Sun, 22 Feb 2015 21:18:57 -0500 Subject: [PATCH] Added a client prelude. --- src/client/mod.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/client/mod.rs b/src/client/mod.rs index cb4c537..1c6badf 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -4,3 +4,13 @@ pub mod conn; pub mod data; pub mod server; + +pub mod prelude { + //! A client-side IRC prelude, re-exporting all the necessary basics. + #![unstable = "Prelude is newly added, and contents have not yet firmed up."] + + pub use client::server::{IrcServer, Server}; + pub use client::server::utils::Wrapper; + pub use client::data::{Command, Config, Message, Response}; + pub use client::data::kinds::{IrcReader, IrcWriter}; +}