mirror of
https://github.com/DNSCrypt/doh-server.git
synced 2025-04-03 21:17:36 +03:00
Upgrade code to hyper 0.12
This keeps the same structure without refactoring anything. However there are several necessary changes: 1. The returned future needs to be Send because hyper requires it. 2. The typed headers were removed from hyper, so use plain code instead. 3. Use the even-lower-level API because it was actually easier.
This commit is contained in:
parent
b66fde914f
commit
eebca570ed
2 changed files with 77 additions and 52 deletions
|
@ -13,7 +13,7 @@ categories = ["asynchronous", "network-programming","command-line-utilities"]
|
|||
base64 = "0.9"
|
||||
clap = "2"
|
||||
futures = "0.1"
|
||||
hyper = "0.11"
|
||||
hyper = "0.12"
|
||||
tokio = "0.1"
|
||||
tokio-timer = "0.2"
|
||||
clippy = {version = ">=0", optional = true}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue