mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-27 00:31:35 +00:00
Update some dependencies (#686)
* Update many dependencies * Upgrade some secio deps
This commit is contained in:
@ -43,8 +43,8 @@ libp2p-tcp-transport = { path = "./transports/tcp" }
|
||||
stdweb = { version = "0.1.3", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.5.4"
|
||||
rand = "0.5"
|
||||
env_logger = "0.6.0"
|
||||
rand = "0.6"
|
||||
tokio = "0.1"
|
||||
tokio-stdin-stdout = "0.1"
|
||||
|
||||
|
@ -13,7 +13,7 @@ multiaddr = { path = "../misc/multiaddr" }
|
||||
multihash = { path = "../misc/multihash" }
|
||||
multistream-select = { path = "../misc/multistream-select" }
|
||||
futures = { version = "0.1", features = ["use_std"] }
|
||||
parking_lot = "0.6"
|
||||
parking_lot = "0.7"
|
||||
protobuf = "2.0.2"
|
||||
quick-error = "1.2"
|
||||
rw-stream-sink = { path = "../misc/rw-stream-sink" }
|
||||
@ -27,7 +27,7 @@ void = "1"
|
||||
libp2p-ping = { path = "../protocols/ping" }
|
||||
libp2p-tcp-transport = { path = "../transports/tcp" }
|
||||
libp2p-mplex = { path = "../muxers/mplex" }
|
||||
rand = "0.5"
|
||||
rand = "0.6"
|
||||
tokio = "0.1"
|
||||
tokio-codec = "0.1"
|
||||
tokio-timer = "0.2"
|
||||
|
@ -12,7 +12,7 @@ futures = "0.1"
|
||||
libp2p-core = { path = "../../core" }
|
||||
multiaddr = { path = "../multiaddr" }
|
||||
net2 = "0.2"
|
||||
rand = "0.5"
|
||||
rand = "0.6"
|
||||
tokio-reactor = "0.1"
|
||||
tokio-timer = "0.2"
|
||||
tokio-udp = "0.1"
|
||||
|
@ -15,7 +15,7 @@ byteorder = "0.4"
|
||||
data-encoding = "2.1"
|
||||
multihash = { path = "../multihash" }
|
||||
serde = "1.0.70"
|
||||
unsigned-varint = "0.1"
|
||||
unsigned-varint = "0.2"
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1"
|
||||
@ -23,5 +23,5 @@ bs58 = "0.2.0"
|
||||
data-encoding = "2"
|
||||
multihash = { path = "../multihash" }
|
||||
quickcheck = "0.7"
|
||||
rand = "0.5"
|
||||
rand = "0.6"
|
||||
serde_json = "1.0"
|
@ -16,9 +16,9 @@ readme = "README.md"
|
||||
documentation = "https://docs.rs/multihash/"
|
||||
|
||||
[dependencies]
|
||||
blake2 = { version = "0.7", default-features = false }
|
||||
blake2 = { version = "0.8", default-features = false }
|
||||
rand = { version = "0.6", default-features = false, features = ["std"] }
|
||||
sha1 = "0.5"
|
||||
sha2 = { version = "0.7", default-features = false }
|
||||
sha1 = "0.6"
|
||||
sha2 = { version = "0.8", default-features = false }
|
||||
tiny-keccak = "1.4"
|
||||
unsigned-varint = "0.2"
|
||||
|
@ -9,4 +9,4 @@ license = "MIT"
|
||||
libp2p-core = { path = "../../core" }
|
||||
libp2p-secio = { path = "../../protocols/secio" }
|
||||
num_cpus = "1.8"
|
||||
rand = "0.5"
|
||||
rand = "0.6"
|
||||
|
@ -10,7 +10,7 @@ fnv = "1.0"
|
||||
futures = "0.1"
|
||||
libp2p-core = { path = "../../core" }
|
||||
log = "0.4"
|
||||
parking_lot = "0.6"
|
||||
parking_lot = "0.7"
|
||||
tokio-codec = "0.1"
|
||||
tokio-io = "0.1"
|
||||
unsigned-varint = { version = "0.2.1", features = ["codec"] }
|
||||
|
@ -9,6 +9,6 @@ bytes = "0.4"
|
||||
futures = "0.1"
|
||||
libp2p-core = { path = "../../core" }
|
||||
log = "0.4"
|
||||
parking_lot = "0.6"
|
||||
parking_lot = "0.7"
|
||||
tokio-io = "0.1"
|
||||
yamux = "0.1"
|
||||
|
@ -12,7 +12,7 @@ fnv = "1.0"
|
||||
futures = "0.1"
|
||||
libp2p-core = { path = "../../core" }
|
||||
protobuf = "2.0.2"
|
||||
rand = "0.5"
|
||||
rand = "0.6"
|
||||
smallvec = "0.6.5"
|
||||
tokio-codec = "0.1"
|
||||
tokio-io = "0.1"
|
||||
|
@ -12,7 +12,7 @@ libp2p-peerstore = { path = "../../stores/peerstore" }
|
||||
libp2p-core = { path = "../../core" }
|
||||
log = "0.4.1"
|
||||
multiaddr = { path = "../../misc/multiaddr" }
|
||||
parking_lot = "0.6"
|
||||
parking_lot = "0.7"
|
||||
protobuf = "2.0.2"
|
||||
smallvec = "0.6"
|
||||
tokio-codec = "0.1"
|
||||
|
@ -18,9 +18,9 @@ libp2p-core = { path = "../../core" }
|
||||
log = "0.4"
|
||||
multiaddr = { path = "../../misc/multiaddr" }
|
||||
multihash = { path = "../../misc/multihash" }
|
||||
parking_lot = "0.6"
|
||||
parking_lot = "0.7"
|
||||
protobuf = "2.0.2"
|
||||
rand = "0.4.2"
|
||||
rand = "0.6.0"
|
||||
smallvec = "0.6"
|
||||
tokio-codec = "0.1"
|
||||
tokio-io = "0.1"
|
||||
@ -29,5 +29,4 @@ unsigned-varint = { version = "0.2.1", features = ["codec"] }
|
||||
|
||||
[dev-dependencies]
|
||||
libp2p-tcp-transport = { path = "../../transports/tcp" }
|
||||
rand = "0.4.2"
|
||||
tokio = "0.1"
|
||||
|
@ -12,8 +12,8 @@ log = "0.4.1"
|
||||
multiaddr = { path = "../../misc/multiaddr" }
|
||||
multistream-select = { path = "../../misc/multistream-select" }
|
||||
futures = "0.1"
|
||||
parking_lot = "0.6"
|
||||
rand = "0.5"
|
||||
parking_lot = "0.7"
|
||||
rand = "0.6"
|
||||
tokio-codec = "0.1"
|
||||
tokio-io = "0.1"
|
||||
tokio-timer = "0.2.6"
|
||||
|
@ -11,13 +11,13 @@ futures = "0.1"
|
||||
libp2p-core = { path = "../../core" }
|
||||
log = "0.4.1"
|
||||
protobuf = "2.0.2"
|
||||
rand = "0.5"
|
||||
rand = "0.6"
|
||||
secp256k1 = {version = "0.11", optional = true }
|
||||
aes-ctr = "0.1.0"
|
||||
aesni = { version = "0.4.1", features = ["nocheck"], optional = true }
|
||||
twofish = "0.1.0"
|
||||
ctr = "0.1"
|
||||
lazy_static = { version = "0.2.11", optional = true }
|
||||
lazy_static = { version = "1.2.0", optional = true }
|
||||
rw-stream-sink = { path = "../../misc/rw-stream-sink" }
|
||||
tokio-io = "0.1.0"
|
||||
sha2 = "0.7.1"
|
||||
|
@ -259,7 +259,7 @@ impl SecioKeyPair {
|
||||
|
||||
/// Generates a new Ed25519 key pair and uses it.
|
||||
pub fn ed25519_generated() -> Result<SecioKeyPair, Box<Error + Send + Sync>> {
|
||||
let mut csprng = rand::OsRng::new()?;
|
||||
let mut csprng = rand::rngs::OsRng::new()?;
|
||||
let keypair: Ed25519KeyPair = Ed25519KeyPair::generate::<sha2::Sha512, _>(&mut csprng);
|
||||
Ok(SecioKeyPair {
|
||||
inner: SecioKeyPairInner::Ed25519 {
|
||||
|
@ -9,7 +9,7 @@ libp2p-core = { path = "../../core" }
|
||||
log = "0.4.1"
|
||||
futures = "0.1"
|
||||
multiaddr = { path = "../../misc/multiaddr" }
|
||||
tokio-dns-unofficial = "0.3"
|
||||
tokio-dns-unofficial = "0.4"
|
||||
tokio-io = "0.1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -12,7 +12,7 @@ libp2p-core = { path = "../../core" }
|
||||
log = "0.4"
|
||||
multiaddr = { path = "../../misc/multiaddr" }
|
||||
protobuf = "2.0.2"
|
||||
rand = "0.4"
|
||||
rand = "0.6"
|
||||
tokio-codec = "0.1"
|
||||
tokio-io = "0.1"
|
||||
unsigned-varint = { version = "0.2.1", features = ["codec"] }
|
||||
|
Reference in New Issue
Block a user