From 63838165c31397fec199bf99c96497a1169c4d52 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Mon, 1 Jun 2015 22:44:12 +0200 Subject: Update for new debug flag --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 for IrscError { pub type Result = result::Result; -pub const DEBUG: bool = cfg!(not(ndebug)); +pub const DEBUG: bool = cfg!(debug_assertions); -- cgit v1.2.3