diff --git a/Cargo.lock b/Cargo.lock index dbd527e..dbb67a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1405,15 +1405,6 @@ dependencies = [ "serde", ] -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - [[package]] name = "slab" version = "0.4.9" @@ -1614,7 +1605,6 @@ dependencies = [ "num_cpus", "parking_lot", "pin-project-lite", - "signal-hook-registry", "socket2", "tokio-macros", "windows-sys 0.48.0", diff --git a/Cargo.toml b/Cargo.toml index 1a0f565..024341d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,8 +14,15 @@ keywords = ["http", "proxy", "http-proxy"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -hyper = { version = "1.0.1", features = ["full"] } -tokio = { version = "1.34.0", features = ["full"] } +tokio = { version = "1.34.0", features = [ + "macros", + "rt", + "rt-multi-thread", + "parking_lot", + "io-util", + "net", +] } +hyper = { version = "1.0.1", features = ["http1", "server", "client"] } futures = "0.3.29" bytes = "1.5.0" http-body-util = "0.1.0"