aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-25 18:42:26 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-25 18:42:26 -0700
commit2f9054309e3d12be5b9d9be56c09e935c0bc0c06 (patch)
treed853cb17a07fe97129422b20dec5f70164699b89
parent2ab089684a1bdbbb6f1f027399adb61d5e8f7291 (diff)
downloades-public-proxy-2f9054309e3d12be5b9d9be56c09e935c0bc0c06.tar.gz
es-public-proxy-2f9054309e3d12be5b9d9be56c09e935c0bc0c06.zip
reduce tokio feature flags
-rw-r--r--Cargo.lock25
-rw-r--r--Cargo.toml8
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,25 +290,13 @@ 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"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -332,16 +320,6 @@ dependencies = [
]
[[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"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -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 <bnewbold@archive.org>"]
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"] }