From 6bec8574d4f75e4fb4920ab7f1572081e16b4a79 Mon Sep 17 00:00:00 2001 From: Adriano Di Luzio Date: Tue, 26 Sep 2023 03:01:56 +0200 Subject: [PATCH] Remove unused `remove_dir_all` crate (#2757) --- Cargo.lock | 18 ++---------------- sqlx-cli/Cargo.toml | 2 -- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27ef40bab5..7315383652 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2618,19 +2618,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "remove_dir_all" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "882f368737489ea543bc5c340e6f3d34a28c39980bd9a979e47322b26f60ac40" -dependencies = [ - "libc", - "log", - "num_cpus", - "rayon", - "winapi", -] - [[package]] name = "rend" version = "0.4.0" @@ -3126,7 +3113,6 @@ dependencies = [ "glob", "openssl", "promptly", - "remove_dir_all 0.7.0", "serde", "serde_json", "sqlx", @@ -3577,7 +3563,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" dependencies = [ "rand 0.4.6", - "remove_dir_all 0.5.3", + "remove_dir_all", ] [[package]] @@ -3590,7 +3576,7 @@ dependencies = [ "fastrand", "libc", "redox_syscall", - "remove_dir_all 0.5.3", + "remove_dir_all", "winapi", ] diff --git a/sqlx-cli/Cargo.toml b/sqlx-cli/Cargo.toml index 5f8597c467..80de8e150d 100644 --- a/sqlx-cli/Cargo.toml +++ b/sqlx-cli/Cargo.toml @@ -45,8 +45,6 @@ serde_json = "1.0.73" serde = { version = "1.0.132", features = ["derive"] } glob = "0.3.0" openssl = { version = "0.10.38", optional = true } -# workaround for https://github.com/rust-lang/rust/issues/29497 -remove_dir_all = "0.7.0" cargo_metadata = "0.14" filetime = "0.2"