aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTill Hoeppner2015-06-01 22:44:12 +0200
committerTill Hoeppner2015-06-01 22:44:12 +0200
commit63838165c31397fec199bf99c96497a1169c4d52 (patch)
tree0a012e8f6a590bd084794a9a440ef89779b9ffca /src
parent58d8617ac1c43ec1fab96efa70fa2a82665c55e6 (diff)
downloadirsc-63838165c31397fec199bf99c96497a1169c4d52.tar.gz
irsc-63838165c31397fec199bf99c96497a1169c4d52.tar.xz
irsc-63838165c31397fec199bf99c96497a1169c4d52.zip
Update for new debug flag
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6ec60db..abcbc50 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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);