Update h2-support to std-future

This commit is contained in:
Gurwinder Singh
2019-08-15 08:25:46 +05:30
committed by Sean McArthur
parent c8fefd49f1
commit 529ef4cd40
10 changed files with 511 additions and 989 deletions

View File

@@ -1,3 +1,4 @@
#![feature(async_await)]
//! Utilities to support tests.
#[macro_use]
@@ -16,7 +17,7 @@ mod client_ext;
mod future_ext;
pub use crate::client_ext::{SendRequestExt};
pub use crate::future_ext::{FutureExt, Unwrap};
pub use crate::future_ext::TestFuture;
pub type WindowSize = usize;
pub const DEFAULT_WINDOW_SIZE: WindowSize = (1 << 16) - 1;