diff --git a/Cargo.lock b/Cargo.lock index 2466d0c..225c7f8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -135,12 +135,6 @@ dependencies = [ "syn", ] -[[package]] -name = "futures-sink" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a57bead0ceff0d6dde8f465ecd96c9338121bb7717d3e7b108059531870c4282" - [[package]] name = "futures-task" version = "0.3.15" @@ -170,31 +164,6 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724" -[[package]] -name = "h2" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" - [[package]] name = "heck" version = "0.3.1" @@ -257,7 +226,6 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2", "http", "http-body", "httparse", @@ -277,16 +245,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0bd112d44d9d870a6819eb505d04dd92b5e4d94bb8c304924a0872ae7016fb5" -[[package]] -name = "indexmap" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" -dependencies = [ - "autocfg", - "hashbrown", -] - [[package]] name = "itoa" version = "0.4.6" @@ -600,20 +558,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "tokio-util" -version = "0.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "log", - "pin-project-lite 0.2.7", - "tokio", -] - [[package]] name = "tower-service" version = "0.3.0" diff --git a/Cargo.toml b/Cargo.toml index c117f51..eb68d53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,10 +7,10 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -futures-util= "0.3.15" -http = "0.2.4" -hyper = {version="0.14.9", features = ["full"]} -structopt = { version="0.3.21", default-features=false} -tokio-socks = "0.5.1" -tokio = {version="1.7.1",features=["macros","rt-multi-thread"]} -color-eyre = {version= "0.5.11",default-features=false} +futures-util= "0.3" +http = "0.2" +hyper = { version = "0.14", features = ["http1", "server", "tcp"]} +structopt = { version="0.3", default-features = false} +tokio-socks = "0.5" +tokio = { version = "1.7", features = ["macros", "rt-multi-thread"] } +color-eyre = { version = "0.5", default-features = false }