feat(body): implement http_body::Body for hyper::Body
This adds a `http_body::Body` impl for hypers `Body`. This should allow us to start moving to a more generic body trait based on `BufStream` and `http-body`.
This commit is contained in:
committed by
Sean McArthur
parent
973f981aa5
commit
2d9f3490aa
@@ -22,6 +22,7 @@ bytes = "0.4.4"
|
||||
futures = "0.1.21"
|
||||
futures-cpupool = { version = "0.1.6", optional = true }
|
||||
http = "0.1.15"
|
||||
http-body = "0.1"
|
||||
httparse = "1.0"
|
||||
h2 = "0.1.10"
|
||||
iovec = "0.1"
|
||||
@@ -30,6 +31,7 @@ log = "0.4"
|
||||
net2 = { version = "0.2.32", optional = true }
|
||||
time = "0.1"
|
||||
tokio = { version = "0.1.14", optional = true, default-features = false, features = ["rt-full"] }
|
||||
tokio-buf = "0.1"
|
||||
tokio-executor = { version = "0.1.0", optional = true }
|
||||
tokio-io = "0.1"
|
||||
tokio-reactor = { version = "0.1", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user