Fix feature flagging for abomonation-serialize

The tests can now be run without the abomonation feature. Also fixes a
bug in the feature flagging for abomonation.
This commit is contained in:
Eduard Bopp 2017-09-18 14:31:17 +02:00 committed by Sébastien Crozet
parent 543c3c1d46
commit 3a1fb0ed88
3 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -4,4 +4,5 @@ mod matrix;
mod matrix_slice;
mod blas;
mod serde;
#[cfg(feature = "abomonation-serialize")]
mod abomonation;

View File

@ -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;