diff options
author | Till Hoeppner | 2015-06-01 22:44:12 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-06-01 22:44:12 +0200 |
commit | 63838165c31397fec199bf99c96497a1169c4d52 (patch) | |
tree | 0a012e8f6a590bd084794a9a440ef89779b9ffca /src/lib.rs | |
parent | 58d8617ac1c43ec1fab96efa70fa2a82665c55e6 (diff) | |
download | irsc-63838165c31397fec199bf99c96497a1169c4d52.tar.gz irsc-63838165c31397fec199bf99c96497a1169c4d52.tar.xz irsc-63838165c31397fec199bf99c96497a1169c4d52.zip |
Update for new debug flag
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,6 @@ #![feature(plugin, custom_derive, slice_patterns)] #![plugin(regex_macros)] +#![cfg_attr(feature = "lints", plugin(clippy))] #![deny(warnings)] #![allow(unused_imports)] @@ -28,6 +29,7 @@ pub use ident::Ident; pub use message::{ Message, MsgType }; pub use command::Command; pub use reply::Reply; +pub use client::Client; #[derive(Debug)] pub enum IrscError { @@ -46,4 +48,4 @@ impl From<SslError> for IrscError { pub type Result<T> = result::Result<T, IrscError>; -pub const DEBUG: bool = cfg!(not(ndebug)); +pub const DEBUG: bool = cfg!(debug_assertions); |