2014-05-17 04:21:05 +00:00
|
|
|
#![feature(macro_rules, phase)]
|
2014-06-28 04:43:23 +00:00
|
|
|
#![crate_type = "dylib"]
|
|
|
|
#![crate_type = "rlib"]
|
2014-05-17 04:21:05 +00:00
|
|
|
|
|
|
|
// test harness access
|
|
|
|
#[cfg(test)]
|
|
|
|
extern crate test;
|
2014-06-03 14:10:44 +00:00
|
|
|
|
2014-06-12 13:31:47 +00:00
|
|
|
#[phase(plugin, link)]
|
2014-05-17 04:21:05 +00:00
|
|
|
extern crate log;
|
|
|
|
|
2014-06-28 04:43:23 +00:00
|
|
|
#[phase(plugin)]
|
|
|
|
extern crate serde_macros;
|
|
|
|
|
2014-06-03 14:10:44 +00:00
|
|
|
#[cfg(test)]
|
|
|
|
extern crate debug;
|
|
|
|
|
2014-05-22 03:54:10 +00:00
|
|
|
#[cfg(test)]
|
|
|
|
extern crate serialize;
|
|
|
|
|
2014-05-17 04:21:05 +00:00
|
|
|
pub mod de;
|
2014-06-08 22:17:18 +00:00
|
|
|
pub mod ser;
|
2014-05-26 17:40:47 +00:00
|
|
|
pub mod json;
|
2014-05-24 03:41:29 +00:00
|
|
|
|
2014-05-24 22:02:24 +00:00
|
|
|
//#[cfg(test)]
|
|
|
|
//pub mod bench_bytes;
|
|
|
|
|
2014-05-26 16:43:51 +00:00
|
|
|
#[cfg(test)]
|
|
|
|
pub mod bench_enum;
|
2014-05-24 03:41:29 +00:00
|
|
|
|
|
|
|
#[cfg(test)]
|
2014-05-26 05:16:34 +00:00
|
|
|
pub mod bench_struct;
|
2014-05-24 03:41:29 +00:00
|
|
|
|
2014-05-26 16:31:17 +00:00
|
|
|
#[cfg(test)]
|
|
|
|
pub mod bench_vec;
|
2014-05-26 16:23:05 +00:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
pub mod bench_map;
|
2014-06-20 23:32:30 +00:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
pub mod bench_log;
|
2014-06-28 04:43:23 +00:00
|
|
|
|
|
|
|
// an inner module so we can use serde_macros.
|
|
|
|
mod serde {
|
|
|
|
pub use de;
|
|
|
|
pub use ser;
|
|
|
|
}
|