changeset 321:399b1358ea66

Meta: Make time-test a dev-dependency
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 01 Oct 2017 13:26:20 +0000
parents ac996598254b
children 06fe2447561b
files Cargo.toml src/lib.rs
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Cargo.toml	Fri Sep 29 19:43:36 2017 +0200
+++ b/Cargo.toml	Sun Oct 01 13:26:20 2017 +0000
@@ -9,4 +9,6 @@
 integer-encoding = "1.0"
 libc = "0.2"
 rand = "0.3"
+
+[dev-dependencies]
 time-test = "0.2"
--- a/src/lib.rs	Fri Sep 29 19:43:36 2017 +0200
+++ b/src/lib.rs	Sun Oct 01 13:26:20 2017 +0000
@@ -5,6 +5,8 @@
 extern crate integer_encoding;
 extern crate libc;
 extern crate rand;
+
+#[cfg(test)]
 #[macro_use]
 extern crate time_test;