aboutsummaryrefslogtreecommitdiff
path: root/src/log.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/log.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/log.rs')
-rw-r--r--src/log.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.rs b/src/log.rs
index b15d128..c0faaae 100644
--- a/src/log.rs
+++ b/src/log.rs
@@ -9,7 +9,7 @@ pub struct Log {
/// All representable events, such as messages, quits, joins
/// and topic changes.
-#[derive(Debug)]
+#[derive(Debug, RustcEncodable, RustcDecodable)]
pub enum Event {
Connect {
time: i64