mirror of
https://github.com/serde-rs/json.git
synced 2025-11-03 15:03:04 +00:00
23 lines
544 B
Rust
23 lines
544 B
Rust
#![cfg_attr(feature = "nightly-testing", feature(plugin))]
|
|
#![cfg_attr(feature = "nightly-testing", plugin(clippy))]
|
|
|
|
#![cfg_attr(not(feature = "with-syntex"), feature(proc_macro))]
|
|
|
|
#![feature(test)]
|
|
|
|
#[cfg(not(feature = "with-syntex"))]
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
extern crate num_traits;
|
|
extern crate rustc_serialize;
|
|
extern crate serde;
|
|
extern crate serde_json;
|
|
extern crate test;
|
|
|
|
#[cfg(feature = "with-syntex")]
|
|
include!(concat!(env!("OUT_DIR"), "/bench.rs"));
|
|
|
|
#[cfg(not(feature = "with-syntex"))]
|
|
include!("bench.rs.in");
|