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

@ -282,7 +282,7 @@ mod tests {
fn tick(h: &mut PingHandler<TcpStream>)
-> ProtocolsHandlerEvent<protocol::Ping, (), PingResult, PingFailure>
{
futures::executor::block_on(future::poll_fn(|cx| h.poll(cx) ))
async_std::task::block_on(future::poll_fn(|cx| h.poll(cx) ))
}
#[test]