Fix encoding, more interop and update nightly version
This commit is contained in:
+5
-2
@@ -12,9 +12,12 @@ tokio-io = "0.2.0-alpha.1"
|
||||
tokio-executor = "0.2.0-alpha.1"
|
||||
tower-service = { git = "http://github.com/tower-rs/tower", branch = "std-future" }
|
||||
tower-util = { git = "http://github.com/tower-rs/tower", branch = "std-future" }
|
||||
h2 = { git = "https://github.com/LucioFranco/h2", branch = "lucio/tower-h2-hack" }
|
||||
# h2 = { git = "https://github.com/LucioFranco/h2", branch = "lucio/tower-h2-hack" }
|
||||
# h2 = { git = "https://github.com/hyperium/h2" }
|
||||
h2 = { path = "../../h2" }
|
||||
http = "0.1"
|
||||
http-body = { git = "https://github.com/hyperium/http-body" }
|
||||
# http-body = { git = "https://github.com/hyperium/http-body" }
|
||||
http-body = { path = "../../http-body" }
|
||||
log = "0.4"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#![feature(async_await)]
|
||||
|
||||
use http::Request;
|
||||
use std::pin::Pin;
|
||||
use std::task::{Context, Poll};
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#![feature(async_await)]
|
||||
|
||||
use futures_util::future;
|
||||
use http::{Request, Response};
|
||||
use std::pin::Pin;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#![feature(async_await)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ impl Body for RecvBody {
|
||||
type Data = Data;
|
||||
type Error = h2::Error;
|
||||
|
||||
fn is_end_stream(self: Pin<&mut Self>) -> bool {
|
||||
fn is_end_stream(&self) -> bool {
|
||||
self.inner.is_end_stream()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user