#![feature(plugin, slicing_syntax, unboxed_closures)] #![allow(unstable)] #![plugin(regex_macros)] extern crate regex; #[macro_use] extern crate log; extern crate eventual; pub mod server; pub mod color; pub mod ident; pub mod callback; pub mod message; use std::io; use std::result; #[derive(Debug)] pub enum IrscError { Io(io::Error), AlreadyConnected, NotConnected } pub type Result = result::Result; pub const DEBUG: bool = cfg!(not(ndebug));