diff --git a/src/lib.rs b/src/lib.rs index b5e5e3b2..6a87d081 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,7 +97,7 @@ extern crate serde; #[macro_use] extern crate serde_derive; -#[cfg(feature = "abomonation")] +#[cfg(feature = "abomonation-serialize")] extern crate abomonation; extern crate num_traits as num; diff --git a/tests/core/mod.rs b/tests/core/mod.rs index 71d09757..eb707f2c 100644 --- a/tests/core/mod.rs +++ b/tests/core/mod.rs @@ -4,4 +4,5 @@ mod matrix; mod matrix_slice; mod blas; mod serde; +#[cfg(feature = "abomonation-serialize")] mod abomonation; diff --git a/tests/lib.rs b/tests/lib.rs index 9a1174e7..3cdbb6d4 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -5,6 +5,7 @@ extern crate quickcheck; extern crate approx; extern crate num_traits as num; extern crate serde_json; +#[cfg(feature = "abomonation-serialize")] extern crate abomonation; extern crate rand; extern crate alga;