Added a client prelude.
This commit is contained in:
parent
c997556501
commit
1828c16766
1 changed files with 10 additions and 0 deletions
|
@ -4,3 +4,13 @@
|
||||||
pub mod conn;
|
pub mod conn;
|
||||||
pub mod data;
|
pub mod data;
|
||||||
pub mod server;
|
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};
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue