From efc7da13c51b50a7c5ce79b3e840f5567a036eba Mon Sep 17 00:00:00 2001 From: Andrew Toth Date: Fri, 3 Nov 2023 11:27:01 -0400 Subject: [PATCH] Use only required features for dependencies --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dbfdc95..fddba44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,19 +21,20 @@ appveyor = { repository = "lipanski/mockito", branch = "master", service = "gith assert-json-diff = "2.0" colored = { version = "2.0", optional = true } futures = "0.3" -hyper = { version = "0.14", features = ["full"] } +hyper = { version = "0.14", features = ["http1", "http2", "server", "stream"] } log = "0.4" rand = "0.8" regex = "1.7" serde_json = "1.0" serde_urlencoded = "0.7" similar = "2.2" -tokio = { version = "1.25", features = ["full"] } +tokio = { version = "1.25", features = ["net", "rt", "sync"] } [dev-dependencies] env_logger = "0.8" testing_logger = "0.1" reqwest = "0.11" +tokio = { version = "1.25", features = ["macros", "rt-multi-thread"] } [features] default = ["color"]