From 2387544e08b98387b75c7b7dd46b3bfaba4ff0f9 Mon Sep 17 00:00:00 2001 From: Shane Pearman Date: Sun, 11 Aug 2019 16:59:47 -0700 Subject: [PATCH] bump rand -> 0.7, fix unused macro warnings in tests --- Cargo.toml | 2 +- tests/matrix.rs | 1 - tests/point.rs | 1 - tests/quaternion.rs | 1 - tests/transform.rs | 1 - tests/vector.rs | 1 - tests/vector4f32.rs | 1 - 7 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cb9662d..dfebc25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ swizzle = [] approx = "0.3" mint = { version = "0.5", optional = true } num-traits = "0.2" -rand = { version = "0.6", optional = true } +rand = { version = "0.7", optional = true } serde = { version = "1.0", features = ["serde_derive"], optional = true } simd = { version = "0.2", optional = true } diff --git a/tests/matrix.rs b/tests/matrix.rs index 80f1152..f516d4b 100644 --- a/tests/matrix.rs +++ b/tests/matrix.rs @@ -13,7 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#[macro_use] extern crate approx; extern crate cgmath; diff --git a/tests/point.rs b/tests/point.rs index b397bef..9344045 100644 --- a/tests/point.rs +++ b/tests/point.rs @@ -13,7 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#[macro_use] extern crate approx; extern crate cgmath; diff --git a/tests/quaternion.rs b/tests/quaternion.rs index f1ffd9f..e831d2c 100644 --- a/tests/quaternion.rs +++ b/tests/quaternion.rs @@ -13,7 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#[macro_use] extern crate approx; extern crate cgmath; diff --git a/tests/transform.rs b/tests/transform.rs index 13c9e5c..7e0863a 100644 --- a/tests/transform.rs +++ b/tests/transform.rs @@ -13,7 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#[macro_use] extern crate approx; extern crate cgmath; diff --git a/tests/vector.rs b/tests/vector.rs index 458f6b3..6acd6a1 100644 --- a/tests/vector.rs +++ b/tests/vector.rs @@ -13,7 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#[macro_use] extern crate approx; extern crate cgmath; diff --git a/tests/vector4f32.rs b/tests/vector4f32.rs index 3a9a02f..ec10445 100644 --- a/tests/vector4f32.rs +++ b/tests/vector4f32.rs @@ -13,7 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#[macro_use] extern crate approx; extern crate cgmath;