2016-10-08 22:12:51 -07:00

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");