Fix serde-serialize feature and disable unwanted test
This commit is contained in:
parent
0557feb5b9
commit
a99af1cdc2
|
@ -4,7 +4,6 @@ set -ev
|
||||||
|
|
||||||
if [ -z "$NO_STD" ]; then
|
if [ -z "$NO_STD" ]; then
|
||||||
if [ -z "$LAPACK" ]; then
|
if [ -z "$LAPACK" ]; then
|
||||||
cargo test --verbose --no-default-features --lib;
|
|
||||||
cargo test --verbose --no-default-features --features "std" --tests;
|
cargo test --verbose --no-default-features --features "std" --tests;
|
||||||
cargo test --verbose;
|
cargo test --verbose;
|
||||||
cargo test --verbose --features "arbitrary";
|
cargo test --verbose --features "arbitrary";
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
use std::mem;
|
use std::mem;
|
||||||
use std::ops::{Deref, DerefMut};
|
use std::ops::{Deref, DerefMut};
|
||||||
|
#[cfg(feature = "serde-serialize")]
|
||||||
|
use serde::{Serialize, Deserialize};
|
||||||
|
|
||||||
use crate::base::dimension::{U1, U2, U3, U4, U5, U6};
|
use crate::base::dimension::{U1, U2, U3, U4, U5, U6};
|
||||||
use crate::base::storage::{ContiguousStorage, ContiguousStorageMut};
|
use crate::base::storage::{ContiguousStorage, ContiguousStorageMut};
|
||||||
|
|
|
@ -4,6 +4,9 @@ use std::io::{Result as IOResult, Write};
|
||||||
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
#[cfg(all(feature = "alloc", not(feature = "std")))]
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
|
|
||||||
|
#[cfg(feature = "serde-serialize")]
|
||||||
|
use serde::{Serialize, Deserialize};
|
||||||
|
|
||||||
use crate::base::allocator::Allocator;
|
use crate::base::allocator::Allocator;
|
||||||
use crate::base::default_allocator::DefaultAllocator;
|
use crate::base::default_allocator::DefaultAllocator;
|
||||||
use crate::base::dimension::{Dim, DimName, Dynamic, U1};
|
use crate::base::dimension::{Dim, DimName, Dynamic, U1};
|
||||||
|
|
Loading…
Reference in New Issue