From de2351a441d986f60c28310365adbdeb1d48bbe9 Mon Sep 17 00:00:00 2001 From: Eduard Bopp Date: Sun, 29 Mar 2015 13:21:56 +0200 Subject: [PATCH] Only use test feature in test configuration --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4a4bf5ef..f6ab409c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -84,7 +84,7 @@ Feel free to add your project to this list if you happen to use **nalgebra**! #![warn(missing_docs)] #![feature(unboxed_closures)] #![feature(core)] -#![feature(test)] +#![cfg_attr(test, feature(test))] #![doc(html_root_url = "http://nalgebra.org/doc")] extern crate rustc_serialize;