add a #[deriving_serializable] macro

This commit is contained in:
Erick Tryzelaar
2014-06-27 21:43:23 -07:00
parent 91d68e256c
commit eaa1fc26d1
4 changed files with 196 additions and 115 deletions
+11
View File
@@ -1,4 +1,6 @@
#![feature(macro_rules, phase)]
#![crate_type = "dylib"]
#![crate_type = "rlib"]
// test harness access
#[cfg(test)]
@@ -7,6 +9,9 @@ extern crate test;
#[phase(plugin, link)]
extern crate log;
#[phase(plugin)]
extern crate serde_macros;
#[cfg(test)]
extern crate debug;
@@ -34,3 +39,9 @@ pub mod bench_map;
#[cfg(test)]
pub mod bench_log;
// an inner module so we can use serde_macros.
mod serde {
pub use de;
pub use ser;
}