mirror of
https://gitee.com/openharmony/third_party_rust_serde
synced 2024-11-24 07:20:47 +00:00
37 lines
450 B
Rust
37 lines
450 B
Rust
#![feature(macro_rules, phase)]
|
|
|
|
// test harness access
|
|
#[cfg(test)]
|
|
extern crate test;
|
|
|
|
#[phase(plugin, link)]
|
|
extern crate log;
|
|
|
|
#[cfg(test)]
|
|
extern crate debug;
|
|
|
|
#[cfg(test)]
|
|
extern crate serialize;
|
|
|
|
pub mod de;
|
|
pub mod ser;
|
|
pub mod json;
|
|
|
|
//#[cfg(test)]
|
|
//pub mod bench_bytes;
|
|
|
|
#[cfg(test)]
|
|
pub mod bench_enum;
|
|
|
|
#[cfg(test)]
|
|
pub mod bench_struct;
|
|
|
|
#[cfg(test)]
|
|
pub mod bench_vec;
|
|
|
|
#[cfg(test)]
|
|
pub mod bench_map;
|
|
|
|
#[cfg(test)]
|
|
pub mod bench_log;
|