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 @@ extern crate bytes;
|
||||
#[cfg(feature = "runtime")] extern crate futures_cpupool;
|
||||
extern crate h2;
|
||||
#[doc(hidden)] pub extern crate http;
|
||||
extern crate http_body;
|
||||
extern crate httparse;
|
||||
extern crate iovec;
|
||||
extern crate itoa;
|
||||
@@ -29,6 +30,7 @@ extern crate itoa;
|
||||
#[cfg(feature = "runtime")] extern crate net2;
|
||||
extern crate time;
|
||||
#[cfg(feature = "runtime")] extern crate tokio;
|
||||
extern crate tokio_buf;
|
||||
#[cfg(feature = "runtime")] extern crate tokio_executor;
|
||||
#[macro_use] extern crate tokio_io;
|
||||
#[cfg(feature = "runtime")] extern crate tokio_reactor;
|
||||
|
||||
Reference in New Issue
Block a user