Remove serde_derive dependency
This commit is contained in:
parent
a4f11c3393
commit
32d922f0c7
@ -32,6 +32,7 @@ sparse = [ ]
|
|||||||
debug = [ "approx/num-complex", "rand/std" ]
|
debug = [ "approx/num-complex", "rand/std" ]
|
||||||
alloc = [ ]
|
alloc = [ ]
|
||||||
io = [ "pest", "pest_derive" ]
|
io = [ "pest", "pest_derive" ]
|
||||||
|
serde_derive = [] # dummy feature to avoid breakage
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
typenum = "1.10"
|
typenum = "1.10"
|
||||||
@ -44,8 +45,7 @@ num-rational = { version = "0.2", default-features = false }
|
|||||||
approx = { version = "0.3", default-features = false }
|
approx = { version = "0.3", default-features = false }
|
||||||
alga = { version = "0.9", default-features = false }
|
alga = { version = "0.9", default-features = false }
|
||||||
matrixmultiply = { version = "0.2", optional = true }
|
matrixmultiply = { version = "0.2", optional = true }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
||||||
serde_derive = { version = "1.0", optional = true }
|
|
||||||
abomonation = { version = "0.7", optional = true }
|
abomonation = { version = "0.7", optional = true }
|
||||||
mint = { version = "0.5", optional = true }
|
mint = { version = "0.5", optional = true }
|
||||||
quickcheck = { version = "0.8", optional = true }
|
quickcheck = { version = "0.8", optional = true }
|
||||||
|
@ -13,7 +13,8 @@ license = "BSD-3-Clause"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde-serialize = [ "serde", "serde_derive" ]
|
serde-serialize = [ "serde" ] # kept to avoid breakage; prefer to use serde feature directly
|
||||||
|
serde_derive = [] # dummy feature to avoid breakage
|
||||||
|
|
||||||
# For BLAS/LAPACK
|
# For BLAS/LAPACK
|
||||||
default = ["openblas"]
|
default = ["openblas"]
|
||||||
@ -27,8 +28,7 @@ nalgebra = { version = "0.18", path = ".." }
|
|||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
num-complex = { version = "0.2", default-features = false }
|
num-complex = { version = "0.2", default-features = false }
|
||||||
alga = { version = "0.9", default-features = false }
|
alga = { version = "0.9", default-features = false }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
||||||
serde_derive = { version = "1.0", optional = true }
|
|
||||||
lapack = { version = "0.16", default-features = false }
|
lapack = { version = "0.16", default-features = false }
|
||||||
lapack-src = { version = "0.2", default-features = false }
|
lapack-src = { version = "0.2", default-features = false }
|
||||||
# clippy = "*"
|
# clippy = "*"
|
||||||
|
@ -89,10 +89,6 @@ an optimized set of tools for computer graphics and physics. Those features incl
|
|||||||
#![cfg_attr(not(feature = "std"), no_std)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
#![cfg_attr(all(feature = "alloc", not(feature = "std")), feature(alloc))]
|
#![cfg_attr(all(feature = "alloc", not(feature = "std")), feature(alloc))]
|
||||||
|
|
||||||
#[cfg(feature = "serde")]
|
|
||||||
#[macro_use]
|
|
||||||
extern crate serde_derive;
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate approx;
|
extern crate approx;
|
||||||
extern crate num_traits as num;
|
extern crate num_traits as num;
|
||||||
|
Loading…
Reference in New Issue
Block a user