From cd708c3ef3f8c070f4b0c566575fb043c4eb1e8e Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sun, 4 Jan 2015 23:34:37 +0100 Subject: I should make smaller commits. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 6d0b42d..1c60750 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,4 +11,4 @@ pub mod server; pub mod color; pub mod ident; pub mod callback; -pub mod event; +pub mod message; -- cgit v1.2.3 From bb94e44ed6ec5b55823270192c00904cbfb24b6b Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sat, 18 Apr 2015 13:35:38 +0200 Subject: I forgot to keep track. Embarassing, huh? --- src/lib.rs | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 1c60750..7cf7c9d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,14 +1,30 @@ -#![feature(globs, phase, slicing_syntax, macro_rules, unboxed_closures)] +#![feature(plugin, slicing_syntax, unboxed_closures)] +#![allow(unstable)] -#[phase(plugin)] -extern crate regex_macros; +#![plugin(regex_macros)] extern crate regex; -#[phase(plugin, link)] +#[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)); -- cgit v1.2.3 From a8c80253d6361728db95e6a5640a91a341ad4ea5 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sat, 18 Apr 2015 14:55:40 +0200 Subject: Fix Option/Result confusions + fixes for stability --- src/lib.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 7cf7c9d..577770d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,12 +1,9 @@ -#![feature(plugin, slicing_syntax, unboxed_closures)] -#![allow(unstable)] - +#![feature(plugin, collections)] #![plugin(regex_macros)] -extern crate regex; +extern crate regex; #[macro_use] extern crate log; - extern crate eventual; pub mod server; -- cgit v1.2.3