diff --git a/Cargo.toml b/Cargo.toml index 33a78673..f6569ae5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,17 +31,14 @@ generic-array = "0.11" rand = { version = "0.5", default-features = false } num-traits = { version = "0.2", default-features = false } num-complex = { version = "0.2", default-features = false } -approx = { version = "0.2", default-features = false } -alga = { version = "0.6", default-features = false } +approx = { version = "0.3", default-features = false } +alga = { version = "0.7", default-features = false } matrixmultiply = { version = "0.1", optional = true } serde = { version = "1.0", optional = true } serde_derive = { version = "1.0", optional = true } -abomonation = { version = "0.4", optional = true } +abomonation = { version = "0.5", optional = true } mint = { version = "0.5", optional = true } - -[dependencies.quickcheck] -optional = true -version = "0.4" +quickcheck = { version = "0.6", optional = true } [dev-dependencies] serde_json = "1.0" diff --git a/nalgebra-lapack/Cargo.toml b/nalgebra-lapack/Cargo.toml index 5a5c4664..3b9fd5f6 100644 --- a/nalgebra-lapack/Cargo.toml +++ b/nalgebra-lapack/Cargo.toml @@ -25,15 +25,15 @@ intel-mkl = ["lapack-src/intel-mkl"] nalgebra = { version = "0.15", path = ".." } num-traits = "0.2" num-complex = { version = "0.2", default-features = false } -alga = { version = "0.6", default-features = false } +alga = { version = "0.7", default-features = false } serde = { version = "1.0", optional = true } serde_derive = { version = "1.0", optional = true } lapack = { version = "0.16", default-features = false } -lapack-src = { version = "0.1", default-features = false } +lapack-src = { version = "0.2", default-features = false } # clippy = "*" [dev-dependencies] nalgebra = { version = "0.15", path = "..", features = [ "arbitrary" ] } quickcheck = "0.4" -approx = "0.2" +approx = "0.3" rand = "0.5" diff --git a/src/geometry/quaternion_construction.rs b/src/geometry/quaternion_construction.rs index c492705f..e5f9b19f 100644 --- a/src/geometry/quaternion_construction.rs +++ b/src/geometry/quaternion_construction.rs @@ -6,14 +6,16 @@ use base::storage::Owned; use quickcheck::{Arbitrary, Gen}; use num::{One, Zero}; -use rand::distributions::{Distribution, Standard, OpenClosed01}; +use rand::distributions::{Distribution, OpenClosed01, Standard}; use rand::Rng; use alga::general::Real; use base::dimension::U3; use base::storage::Storage; -use base::{Unit, Vector, Vector3, Vector4}; +#[cfg(feature = "arbitrary")] +use base::Vector3; +use base::{Unit, Vector, Vector4}; use geometry::{Quaternion, Rotation, UnitQuaternion};