diff options
author | Till Hoeppner | 2015-04-16 23:32:00 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-04-16 23:32:00 +0200 |
commit | cd182daf35eae3739511f3751843ad01f0d489b3 (patch) | |
tree | 1ce4274d6107b2fe5c87f71437fd9aa988cf090b /src/lib.rs | |
parent | 8bf21091210af570a74a29eb731a867c0788ebdb (diff) | |
download | ilc-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.rs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) } |