Several changes.

- Pin `futures_codec` to version 0.3.3 as later versions require
at least bytes-0.5 which he have not upgraded to yet.
- Replace `futures::executor::block_on` with `async_std::task::block_on`
where `async-std` is already a dependency to work around an issue with
`park`/`unpark` behaviour.
- Use the published version of `quicksink`.
This commit is contained in:
Toralf Wittner
2019-12-18 16:31:31 +01:00
parent 34a3e5c30c
commit f293594144
15 changed files with 20 additions and 20 deletions

View File

@ -486,7 +486,7 @@ mod tests {
.for_each(|_| futures::future::ready(()));
let client = TcpConfig::new().dial(addr).expect("dialer");
futures::executor::block_on(futures::future::join(server, client)).1.unwrap();
async_std::task::block_on(futures::future::join(server, client)).1.unwrap();
}
#[test]