aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-04-20 22:38:56 +0200
committerTill Hoeppner2015-04-20 22:38:56 +0200
commit5f1ffd753af42357c8b074c7a8bc9be2eade002e (patch)
treec8df5fc525c7bca1a4a5b91d35ad0899da377558 /src/lib.rs
parentc9776e2ad7ce0173b0820dbe2487c3cf8f0f3d1c (diff)
downloadirsc-5f1ffd753af42357c8b074c7a8bc9be2eade002e.tar.gz
irsc-5f1ffd753af42357c8b074c7a8bc9be2eade002e.tar.xz
irsc-5f1ffd753af42357c8b074c7a8bc9be2eade002e.zip
Add reply generation
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f37c9a4..bf85c49 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,4 +1,4 @@
-#![feature(plugin, collections)]
+#![feature(plugin, collections, custom_derive)]
#![plugin(regex_macros)]
extern crate regex;
@@ -11,7 +11,8 @@ pub mod color;
pub mod ident;
pub mod callback;
pub mod message;
-// pub mod command;
+pub mod command;
+pub mod reply;
use std::io;
use std::result;
@@ -20,7 +21,8 @@ use std::result;
pub enum IrscError {
Io(io::Error),
AlreadyConnected,
- NotConnected
+ NotConnected,
+ NotFound
}
pub type Result<T> = result::Result<T, IrscError>;