From 0d5cfd9117eabab7d3179277ee6b18bb6efb4f11 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 1 Mar 2016 22:00:18 -0800 Subject: mk: Distribute fewer TARGET_CRATES Right now everything in TARGET_CRATES is built by default for all non-fulldeps tests and is distributed by default for all target standard library packages. Currenly this includes a number of unstable crates which are rarely used such as `graphviz` and `rbml`> This commit trims down the set of `TARGET_CRATES`, moves a number of tests to `*-fulldeps` as a result, and trims down the dependencies of libtest so we can distribute fewer crates in the `rust-std` packages. --- src/libtest/Cargo.toml | 1 - src/libtest/lib.rs | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/libtest') diff --git a/src/libtest/Cargo.toml b/src/libtest/Cargo.toml index 96a84496b9c..ecbd5a9c0f5 100644 --- a/src/libtest/Cargo.toml +++ b/src/libtest/Cargo.toml @@ -11,4 +11,3 @@ crate-type = ["dylib", "rlib"] [dependencies] getopts = { path = "../libgetopts" } term = { path = "../libterm" } -serialize = { path = "../libserialize" } diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 7536ab9c5af..11d2a3e65c8 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -42,8 +42,6 @@ #![feature(staged_api)] extern crate getopts; -extern crate serialize; -extern crate serialize as rustc_serialize; extern crate term; extern crate libc; @@ -56,7 +54,6 @@ use self::NamePadding::*; use self::OutputLocation::*; use stats::Stats; -use serialize::Encodable; use std::boxed::FnBox; use term::Terminal; @@ -215,7 +212,7 @@ pub struct TestDescAndFn { pub testfn: TestFn, } -#[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] +#[derive(Clone, PartialEq, Debug, Copy)] pub struct Metric { value: f64, noise: f64, -- cgit 1.4.1-3-g733a5