Added a client prelude.

This commit is contained in:
Aaron Weiss 2015-02-22 21:18:57 -05:00
parent c997556501
commit 1828c16766

View file

@ -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};
}