From 917d7da9ab0b283c6026559920a6eeb9f01959ae Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 26 May 2022 20:19:12 +0800 Subject: [PATCH] build: remove dev deps --- Cargo.lock | 52 ---------------------------------------------------- Cargo.toml | 6 ------ 2 files changed, 58 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 995bfb3..e9dbd22 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -62,24 +62,13 @@ dependencies = [ "clap", "futures", "hyper", - "once_cell", "percent-encoding", "serde", "serde_json", - "tempfile", "tokio", "tokio-util", ] -[[package]] -name = "fastrand" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" -dependencies = [ - "instant", -] - [[package]] name = "fnv" version = "1.0.7" @@ -257,15 +246,6 @@ dependencies = [ "hashbrown", ] -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - [[package]] name = "itoa" version = "1.0.2" @@ -369,24 +349,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "redox_syscall" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42" -dependencies = [ - "bitflags", -] - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - [[package]] name = "ryu" version = "1.0.10" @@ -451,20 +413,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "tempfile" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" -dependencies = [ - "cfg-if", - "fastrand", - "libc", - "redox_syscall", - "remove_dir_all", - "winapi", -] - [[package]] name = "textwrap" version = "0.15.0" diff --git a/Cargo.toml b/Cargo.toml index bdc7595..d68ae7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,8 +3,6 @@ name = "duf" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] clap = { version = "3", default-features = false, features = ["std", "cargo"] } tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs", "io-util"]} @@ -16,10 +14,6 @@ tokio-util = { version = "0.7", features = ["codec", "io-util"] } futures = "0.3" base64 = "0.13.0" -[dev-dependencies] -tempfile = "3" -once_cell = "1" - [profile.release] lto = true strip = true