Remove useless crates

This commit is contained in:
Knight 2016-08-07 01:22:17 +08:00
parent cfc28ebc05
commit a23f1a13e7
5 changed files with 1 additions and 21 deletions

View file

@ -192,14 +192,8 @@ yes = { optional=true, path="src/yes" }
[dev-dependencies]
time = "*"
kernel32-sys = "*"
winapi = "*"
filetime = "*"
libc = "*"
memchr = "*"
primal = "*"
aho-corasick= "*"
regex-syntax= "*"
regex="*"
rand="*"
tempdir="*"

View file

@ -1,10 +1,3 @@
extern crate libc;
extern crate time;
extern crate kernel32;
extern crate winapi;
extern crate filetime;
use self::filetime::*;
use common::util::*;
use std::os::unix::fs::PermissionsExt;
@ -17,7 +10,7 @@ fn at_and_ucmd() -> (AtPath, UCommand) {
#[test]
fn test_install_help() {
let (at, mut ucmd) = at_and_ucmd();
let (_, mut ucmd) = at_and_ucmd();
let result = ucmd.arg("--help").run();

View file

@ -1,5 +1,3 @@
extern crate libc;
use common::util::*;
static UTIL_NAME: &'static str = "link";

View file

@ -1,7 +1,4 @@
extern crate libc;
extern crate time;
extern crate kernel32;
extern crate winapi;
extern crate filetime;
use self::filetime::*;

View file

@ -1,5 +1,3 @@
extern crate libc;
use common::util::*;
static UTIL_NAME: &'static str = "rmdir";