mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 22:17:59 +00:00
add a #[deriving_serializable] macro
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user