From 9b9b697eb1256a456523ebbc8539a114f77e7de6 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 25 Jan 2017 20:39:27 -0800 Subject: [PATCH] Make compiletest an optional dependency of the test suite --- testing/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/Cargo.toml b/testing/Cargo.toml index becf934b..6ee64c6c 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -14,13 +14,13 @@ publish = false [features] unstable-testing = [ "clippy", + "compiletest_rs", "serde/unstable-testing", "serde_derive/unstable-testing", "serde_test/unstable-testing", ] [dev-dependencies] -compiletest_rs = "0.2" fnv = "1.0" rustc-serialize = "0.3.16" serde = { path = "../serde" } @@ -29,6 +29,7 @@ serde_test = { path = "../serde_test" } [dependencies] clippy = { version = "0.*", optional = true } +compiletest_rs = { version = "0.2", optional = true } [[test]] name = "test"