mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-31 00:41:59 +00:00
Update more crates to futures-0.3 (#1312)
This commit is contained in:
@@ -10,7 +10,7 @@ edition = "2018"
|
||||
[dependencies]
|
||||
bytes = "0.4"
|
||||
curve25519-dalek = "1"
|
||||
futures-preview = "0.3.0-alpha.18"
|
||||
futures = "0.3.1"
|
||||
lazy_static = "1.2"
|
||||
libp2p-core = { version = "0.13.0", path = "../../core" }
|
||||
log = "0.4"
|
||||
|
@@ -22,11 +22,11 @@
|
||||
|
||||
pub mod handshake;
|
||||
|
||||
use futures::{ready, Poll};
|
||||
use futures::ready;
|
||||
use futures::prelude::*;
|
||||
use log::{debug, trace};
|
||||
use snow;
|
||||
use std::{fmt, io, pin::Pin, ops::DerefMut, task::Context};
|
||||
use std::{fmt, io, pin::Pin, ops::DerefMut, task::{Context, Poll}};
|
||||
|
||||
const MAX_NOISE_PKG_LEN: usize = 65535;
|
||||
const MAX_WRITE_BUF_LEN: usize = 16384;
|
||||
|
Reference in New Issue
Block a user