From b50fc88eadc39c0b84f951ef77e684d375bced56 Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Sun, 22 May 2016 16:04:09 -0400 Subject: [PATCH] mktemp: use tempfile crate from crates.io --- Cargo.lock | 20 +++++++++++++++++--- src/mktemp/Cargo.toml | 2 +- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2464e9f8..2a0b1b345 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -515,7 +515,7 @@ dependencies = [ "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tempfile 1.1.3 (git+https://github.com/Stebalien/tempfile.git)", + "tempfile 2.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "uucore 0.0.1", ] @@ -790,6 +790,19 @@ name = "rustc-serialize" version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "rustc_version" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "semver 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "semver" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "seq" version = "0.0.1" @@ -914,12 +927,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "1.1.3" -source = "git+https://github.com/Stebalien/tempfile.git#34e42b9fdd931ad694900b0afd7c7553a4ac8dd0" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "kernel32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc_version 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/src/mktemp/Cargo.toml b/src/mktemp/Cargo.toml index 2545d17e9..d52718ce7 100644 --- a/src/mktemp/Cargo.toml +++ b/src/mktemp/Cargo.toml @@ -12,4 +12,4 @@ uucore = { path="../uucore" } getopts = "*" libc = "*" rand = "0.3" -tempfile = {git = "https://github.com/Stebalien/tempfile.git"} +tempfile = "*"