From 2f9054309e3d12be5b9d9be56c09e935c0bc0c06 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 25 Aug 2020 18:42:26 -0700 Subject: reduce tokio feature flags --- Cargo.lock | 25 +------------------------ Cargo.toml | 8 +------- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4c7a52c..b8f0150 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -290,24 +290,12 @@ dependencies = [ "kernel32-sys", "libc", "log", - "miow 0.2.1", + "miow", "net2", "slab", "winapi 0.2.8", ] -[[package]] -name = "mio-named-pipes" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" -dependencies = [ - "log", - "mio", - "miow 0.3.5", - "winapi 0.3.9", -] - [[package]] name = "mio-uds" version = "0.6.8" @@ -331,16 +319,6 @@ dependencies = [ "ws2_32-sys", ] -[[package]] -name = "miow" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07b88fb9795d4d36d62a012dfbf49a8f5cf12751f36d31a9dbe66d528e58979e" -dependencies = [ - "socket2", - "winapi 0.3.9", -] - [[package]] name = "net2" version = "0.2.34" @@ -542,7 +520,6 @@ dependencies = [ "libc", "memchr", "mio", - "mio-named-pipes", "mio-uds", "num_cpus", "pin-project-lite", diff --git a/Cargo.toml b/Cargo.toml index 16bdb08..d0d860e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,17 +4,11 @@ version = "0.1.0" authors = ["Bryan Newbold "] edition = "2018" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] hyper = "0.13" http = "*" -tokio = { version = "0.2", features = ["full"] } +tokio = { version = "0.2", features = ["rt-threaded", "tcp", "signal", "macros"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_urlencoded = "0.5" toml = "0.4" - -# testing -#anyhow = "1" -#reqwest = { version = "0.10", features = ["blocking"] } -- cgit v1.2.3