aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-04-16 23:32:00 +0200
committerTill Hoeppner2015-04-16 23:32:00 +0200
commitcd182daf35eae3739511f3751843ad01f0d489b3 (patch)
tree1ce4274d6107b2fe5c87f71437fd9aa988cf090b /src/lib.rs
parent8bf21091210af570a74a29eb731a867c0788ebdb (diff)
downloadilc-cd182daf35eae3739511f3751843ad01f0d489b3.tar.gz
ilc-cd182daf35eae3739511f3751843ad01f0d489b3.tar.xz
ilc-cd182daf35eae3739511f3751843ad01f0d489b3.zip
Add untested support for binary serialization with rustc_serialize and bincode
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a160e4b..aabaae3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,9 +1,11 @@
-#![feature(plugin, slice_patterns, core)]
+#![feature(plugin, slice_patterns, core, custom_derive)]
#![plugin(regex_macros)]
extern crate regex;
extern crate chrono;
#[macro_use]
extern crate log as l;
+extern crate rustc_serialize;
+extern crate bincode;
pub mod log;
pub mod format;
@@ -19,6 +21,8 @@ pub type Result<T> = result::Result<T, IlcError>;
pub enum IlcError {
Parse(String),
Chrono(ParseError),
+ BincodeDecode,
+ BincodeEncode,
Io(io::Error)
}