diff --git a/src/lib.rs b/src/lib.rs index c42c69a..d74031e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,7 +30,7 @@ extern crate serde_derive; extern crate serde; -#[macro_use] +#[cfg_attr(test, macro_use)] extern crate serde_json; #[macro_use]