From 263583c118d10e4a07a4fb628b0b1b4ba04fecd1 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 4 Jun 2020 14:04:18 +0200 Subject: [PATCH] Remove http-service/-mock from the dependencies --- Cargo.lock | 138 ------------------------------------ meilisearch-http/Cargo.toml | 2 - 2 files changed, 140 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1f29c4738..445d0361d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -372,32 +372,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7deb0a829ca7bcfaf5da70b073a8d128619259a7be8216a355e23f00763059e5" -[[package]] -name = "async-std" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a45cee2749d880d7066e328a7e161c7470ced883b2fd000ca4643e9f1dd5083a" -dependencies = [ - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-timer", - "memchr", - "once_cell", - "pin-project-lite", - "pin-utils", - "slab", - "smol", - "wasm-bindgen-futures", -] - -[[package]] -name = "async-task" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17772156ef2829aadc587461c7753af20b7e8db1529bc66855add962a3b35d3" - [[package]] name = "async-trait" version = "0.1.33" @@ -1068,16 +1042,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "futures-timer" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" -dependencies = [ - "gloo-timers", - "send_wrapper", -] - [[package]] name = "futures-util" version = "0.3.5" @@ -1142,19 +1106,6 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c" -[[package]] -name = "gloo-timers" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", - "web-sys", -] - [[package]] name = "h2" version = "0.2.5" @@ -1282,29 +1233,6 @@ dependencies = [ "http 0.2.1", ] -[[package]] -name = "http-service" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9625f605ddfaf894bf78a544a7b8e31f562dc843654723a49892d9c7e75ac708" -dependencies = [ - "async-std", - "bytes 0.4.12", - "futures", - "http 0.1.21", - "pin-project-lite", -] - -[[package]] -name = "http-service-mock" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "893e67bcfcd552717ddfcc3af17fa5397d39a2b1a64a8266271efff619d6af45" -dependencies = [ - "futures", - "http-service", -] - [[package]] name = "httparse" version = "1.3.4" @@ -1659,8 +1587,6 @@ dependencies = [ "env_logger", "futures", "http 0.1.21", - "http-service", - "http-service-mock", "indexmap", "jemallocator", "log", @@ -2037,18 +1963,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" -[[package]] -name = "piper" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01608bfa680dafb103f9207fa944facf572e4e3e708d10de19a0d0c3d36e5f18" -dependencies = [ - "crossbeam-utils", - "futures-io", - "futures-sink", - "futures-util", -] - [[package]] name = "pkg-config" version = "0.3.17" @@ -2442,12 +2356,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "scoped-tls-hkt" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e9d7eaddb227e8fbaaa71136ae0e1e913ca159b86c7da82f3e8f0044ad3a63" - [[package]] name = "scopeguard" version = "1.1.0" @@ -2485,12 +2393,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" -[[package]] -name = "send_wrapper" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" - [[package]] name = "sentry" version = "0.18.1" @@ -2660,27 +2562,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" -[[package]] -name = "smol" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "845f5e7db6b614a8f4f59e565c3035f0fab2f71c9537ff0119eddb60d866cae3" -dependencies = [ - "async-task", - "crossbeam-deque", - "crossbeam-queue", - "crossbeam-utils", - "futures-io", - "futures-util", - "libc", - "once_cell", - "piper", - "scoped-tls-hkt", - "slab", - "socket2", - "wepoll-binding", -] - [[package]] name = "socket2" version = "0.3.12" @@ -3319,25 +3200,6 @@ dependencies = [ "webpki", ] -[[package]] -name = "wepoll-binding" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374fff4ff9701ff8b6ad0d14bacd3156c44063632d8c136186ff5967d48999a7" -dependencies = [ - "bitflags", - "wepoll-sys", -] - -[[package]] -name = "wepoll-sys" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9082a777aed991f6769e2b654aa0cb29f1c3d615daf009829b07b66c7aff6a24" -dependencies = [ - "cc", -] - [[package]] name = "whoami" version = "0.8.1" diff --git a/meilisearch-http/Cargo.toml b/meilisearch-http/Cargo.toml index 9f6644683..edd44f09b 100644 --- a/meilisearch-http/Cargo.toml +++ b/meilisearch-http/Cargo.toml @@ -71,8 +71,6 @@ features = [ optional = true [dev-dependencies] -http-service = "0.4.0" -http-service-mock = "0.4.0" tempdir = "0.3.7" tokio = { version = "0.2.18", features = ["macros", "time"] }