mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 01:51:23 +00:00
Update more crates to futures-0.3 (#1312)
This commit is contained in:
@ -10,13 +10,13 @@ keywords = ["peer-to-peer", "libp2p", "networking"]
|
||||
categories = ["network-programming", "asynchronous"]
|
||||
|
||||
[dependencies]
|
||||
futures-preview = "0.3.0-alpha.18"
|
||||
futures = "0.3.1"
|
||||
libp2p-core = { version = "0.13.0", path = "../../core" }
|
||||
flate2 = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
async-std = "0.99"
|
||||
async-std = "1.0"
|
||||
env_logger = "0.7.1"
|
||||
libp2p-tcp = { version = "0.13.0", path = "../../transports/tcp" }
|
||||
rand = "0.7"
|
||||
quickcheck = "0.9.0"
|
||||
quickcheck = "0.9"
|
||||
|
@ -14,9 +14,9 @@ bs58 = "0.3.0"
|
||||
bytes = "0.4"
|
||||
cuckoofilter = "0.3.2"
|
||||
fnv = "1.0"
|
||||
futures-preview = "0.3.0-alpha.18"
|
||||
futures = "0.3.1"
|
||||
libp2p-core = { version = "0.13.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.3.0", path = "../../swarm" }
|
||||
protobuf = "2.8"
|
||||
rand = "0.6"
|
||||
smallvec = "0.6.5"
|
||||
smallvec = "1.0"
|
||||
|
@ -11,14 +11,14 @@ categories = ["network-programming", "asynchronous"]
|
||||
|
||||
[dependencies]
|
||||
bytes = "0.4"
|
||||
futures_codec = "0.3.0"
|
||||
futures-preview = "0.3.0-alpha.18"
|
||||
futures_codec = "0.3.1"
|
||||
futures = "0.3.1"
|
||||
libp2p-core = { version = "0.13.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.3.0", path = "../../swarm" }
|
||||
log = "0.4.1"
|
||||
multiaddr = { package = "parity-multiaddr", version = "0.5.0", path = "../../misc/multiaddr" }
|
||||
protobuf = "2.8"
|
||||
smallvec = "0.6"
|
||||
smallvec = "1.0"
|
||||
wasm-timer = "0.2"
|
||||
unsigned-varint = { version = "0.2.3", features = ["futures-codec"] }
|
||||
|
||||
|
@ -14,8 +14,8 @@ arrayvec = "0.5.1"
|
||||
bytes = "0.4"
|
||||
either = "1.5"
|
||||
fnv = "1.0"
|
||||
futures_codec = "0.3.0"
|
||||
futures-preview = "0.3.0-alpha.18"
|
||||
futures_codec = "0.3.1"
|
||||
futures = "0.3.1"
|
||||
log = "0.4"
|
||||
libp2p-core = { version = "0.13.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.3.0", path = "../../swarm" }
|
||||
@ -24,7 +24,7 @@ multihash = { package = "parity-multihash", version = "0.1.4", path = "../../mis
|
||||
protobuf = "2.8"
|
||||
rand = "0.7.2"
|
||||
sha2 = "0.8.0"
|
||||
smallvec = "0.6"
|
||||
smallvec = "1.0"
|
||||
wasm-timer = "0.2"
|
||||
uint = "0.8"
|
||||
unsigned-varint = { version = "0.2.3", features = ["futures-codec"] }
|
||||
|
@ -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;
|
||||
|
@ -15,7 +15,7 @@ libp2p-core = { version = "0.13.0", path = "../../core" }
|
||||
libp2p-swarm = { version = "0.3.0", path = "../../swarm" }
|
||||
log = "0.4.1"
|
||||
multiaddr = { package = "parity-multiaddr", version = "0.5.0", path = "../../misc/multiaddr" }
|
||||
futures-preview = "0.3.0-alpha.18"
|
||||
futures = "0.3.1"
|
||||
rand = "0.7.2"
|
||||
wasm-timer = "0.2"
|
||||
void = "1.0"
|
||||
|
Reference in New Issue
Block a user