diff --git a/benches/construction.rs b/benches/construction.rs index ab382ae..de96c89 100644 --- a/benches/construction.rs +++ b/benches/construction.rs @@ -13,12 +13,13 @@ // See the License for the specific language governing permissions and // limitations under the License. +#![feature(test)] - +extern crate rand; extern crate test; extern crate cgmath; -use std::rand::{IsaacRng, Rng}; +use rand::{IsaacRng, Rng}; use std::iter; use test::Bencher; use cgmath::{Quaternion, Basis2, Basis3, Vector3, Rotation2, Rotation3, Rad}; diff --git a/benches/mat.rs b/benches/mat.rs index 474191c..8c64ba3 100644 --- a/benches/mat.rs +++ b/benches/mat.rs @@ -13,13 +13,13 @@ // See the License for the specific language governing permissions and // limitations under the License. +#![feature(test)] - - +extern crate rand; extern crate test; extern crate cgmath; -use std::rand::{IsaacRng, Rng}; +use rand::{IsaacRng, Rng}; use test::Bencher; use cgmath::*; diff --git a/benches/quat.rs b/benches/quat.rs index 1b00a1a..7474b29 100644 --- a/benches/quat.rs +++ b/benches/quat.rs @@ -13,13 +13,13 @@ // See the License for the specific language governing permissions and // limitations under the License. +#![feature(test)] - - +extern crate rand; extern crate test; extern crate cgmath; -use std::rand::{IsaacRng, Rng}; +use rand::{IsaacRng, Rng}; use test::Bencher; use cgmath::*; diff --git a/benches/vec.rs b/benches/vec.rs index 084a841..ec692bb 100644 --- a/benches/vec.rs +++ b/benches/vec.rs @@ -13,13 +13,13 @@ // See the License for the specific language governing permissions and // limitations under the License. +#![feature(test)] - - +extern crate rand; extern crate test; extern crate cgmath; -use std::rand::{IsaacRng, Rng}; +use rand::{IsaacRng, Rng}; use test::Bencher; use cgmath::*; diff --git a/tests/projection.rs b/tests/projection.rs index 94cf3f8..7e4d788 100644 --- a/tests/projection.rs +++ b/tests/projection.rs @@ -13,8 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#![feature(core)] - extern crate cgmath; use cgmath::{Vector4, ortho, Matrix, Matrix4, Vector};