mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-02 19:21:37 +00:00
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:
@ -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]
|
||||
|
Reference in New Issue
Block a user