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:
parent
543c3c1d46
commit
3a1fb0ed88
|
@ -97,7 +97,7 @@ extern crate serde;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate serde_derive;
|
extern crate serde_derive;
|
||||||
|
|
||||||
#[cfg(feature = "abomonation")]
|
#[cfg(feature = "abomonation-serialize")]
|
||||||
extern crate abomonation;
|
extern crate abomonation;
|
||||||
|
|
||||||
extern crate num_traits as num;
|
extern crate num_traits as num;
|
||||||
|
|
|
@ -4,4 +4,5 @@ mod matrix;
|
||||||
mod matrix_slice;
|
mod matrix_slice;
|
||||||
mod blas;
|
mod blas;
|
||||||
mod serde;
|
mod serde;
|
||||||
|
#[cfg(feature = "abomonation-serialize")]
|
||||||
mod abomonation;
|
mod abomonation;
|
||||||
|
|
|
@ -5,6 +5,7 @@ extern crate quickcheck;
|
||||||
extern crate approx;
|
extern crate approx;
|
||||||
extern crate num_traits as num;
|
extern crate num_traits as num;
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
|
#[cfg(feature = "abomonation-serialize")]
|
||||||
extern crate abomonation;
|
extern crate abomonation;
|
||||||
extern crate rand;
|
extern crate rand;
|
||||||
extern crate alga;
|
extern crate alga;
|
||||||
|
|
Loading…
Reference in New Issue