Update some dependencies (#686)

* Update many dependencies

* Upgrade some secio deps
This commit is contained in:
Pierre Krieger
2018-11-27 10:35:47 +01:00
committed by GitHub
parent d7ac755773
commit 95ebee5841
16 changed files with 24 additions and 25 deletions

View File

@ -43,8 +43,8 @@ libp2p-tcp-transport = { path = "./transports/tcp" }
stdweb = { version = "0.1.3", default-features = false } stdweb = { version = "0.1.3", default-features = false }
[dev-dependencies] [dev-dependencies]
env_logger = "0.5.4" env_logger = "0.6.0"
rand = "0.5" rand = "0.6"
tokio = "0.1" tokio = "0.1"
tokio-stdin-stdout = "0.1" tokio-stdin-stdout = "0.1"

View File

@ -13,7 +13,7 @@ multiaddr = { path = "../misc/multiaddr" }
multihash = { path = "../misc/multihash" } multihash = { path = "../misc/multihash" }
multistream-select = { path = "../misc/multistream-select" } multistream-select = { path = "../misc/multistream-select" }
futures = { version = "0.1", features = ["use_std"] } futures = { version = "0.1", features = ["use_std"] }
parking_lot = "0.6" parking_lot = "0.7"
protobuf = "2.0.2" protobuf = "2.0.2"
quick-error = "1.2" quick-error = "1.2"
rw-stream-sink = { path = "../misc/rw-stream-sink" } rw-stream-sink = { path = "../misc/rw-stream-sink" }
@ -27,7 +27,7 @@ void = "1"
libp2p-ping = { path = "../protocols/ping" } libp2p-ping = { path = "../protocols/ping" }
libp2p-tcp-transport = { path = "../transports/tcp" } libp2p-tcp-transport = { path = "../transports/tcp" }
libp2p-mplex = { path = "../muxers/mplex" } libp2p-mplex = { path = "../muxers/mplex" }
rand = "0.5" rand = "0.6"
tokio = "0.1" tokio = "0.1"
tokio-codec = "0.1" tokio-codec = "0.1"
tokio-timer = "0.2" tokio-timer = "0.2"

View File

@ -12,7 +12,7 @@ futures = "0.1"
libp2p-core = { path = "../../core" } libp2p-core = { path = "../../core" }
multiaddr = { path = "../multiaddr" } multiaddr = { path = "../multiaddr" }
net2 = "0.2" net2 = "0.2"
rand = "0.5" rand = "0.6"
tokio-reactor = "0.1" tokio-reactor = "0.1"
tokio-timer = "0.2" tokio-timer = "0.2"
tokio-udp = "0.1" tokio-udp = "0.1"

View File

@ -15,7 +15,7 @@ byteorder = "0.4"
data-encoding = "2.1" data-encoding = "2.1"
multihash = { path = "../multihash" } multihash = { path = "../multihash" }
serde = "1.0.70" serde = "1.0.70"
unsigned-varint = "0.1" unsigned-varint = "0.2"
[dev-dependencies] [dev-dependencies]
bincode = "1" bincode = "1"
@ -23,5 +23,5 @@ bs58 = "0.2.0"
data-encoding = "2" data-encoding = "2"
multihash = { path = "../multihash" } multihash = { path = "../multihash" }
quickcheck = "0.7" quickcheck = "0.7"
rand = "0.5" rand = "0.6"
serde_json = "1.0" serde_json = "1.0"

View File

@ -16,9 +16,9 @@ readme = "README.md"
documentation = "https://docs.rs/multihash/" documentation = "https://docs.rs/multihash/"
[dependencies] [dependencies]
blake2 = { version = "0.7", default-features = false } blake2 = { version = "0.8", default-features = false }
rand = { version = "0.6", default-features = false, features = ["std"] } rand = { version = "0.6", default-features = false, features = ["std"] }
sha1 = "0.5" sha1 = "0.6"
sha2 = { version = "0.7", default-features = false } sha2 = { version = "0.8", default-features = false }
tiny-keccak = "1.4" tiny-keccak = "1.4"
unsigned-varint = "0.2" unsigned-varint = "0.2"

View File

@ -9,4 +9,4 @@ license = "MIT"
libp2p-core = { path = "../../core" } libp2p-core = { path = "../../core" }
libp2p-secio = { path = "../../protocols/secio" } libp2p-secio = { path = "../../protocols/secio" }
num_cpus = "1.8" num_cpus = "1.8"
rand = "0.5" rand = "0.6"

View File

@ -10,7 +10,7 @@ fnv = "1.0"
futures = "0.1" futures = "0.1"
libp2p-core = { path = "../../core" } libp2p-core = { path = "../../core" }
log = "0.4" log = "0.4"
parking_lot = "0.6" parking_lot = "0.7"
tokio-codec = "0.1" tokio-codec = "0.1"
tokio-io = "0.1" tokio-io = "0.1"
unsigned-varint = { version = "0.2.1", features = ["codec"] } unsigned-varint = { version = "0.2.1", features = ["codec"] }

View File

@ -9,6 +9,6 @@ bytes = "0.4"
futures = "0.1" futures = "0.1"
libp2p-core = { path = "../../core" } libp2p-core = { path = "../../core" }
log = "0.4" log = "0.4"
parking_lot = "0.6" parking_lot = "0.7"
tokio-io = "0.1" tokio-io = "0.1"
yamux = "0.1" yamux = "0.1"

View File

@ -12,7 +12,7 @@ fnv = "1.0"
futures = "0.1" futures = "0.1"
libp2p-core = { path = "../../core" } libp2p-core = { path = "../../core" }
protobuf = "2.0.2" protobuf = "2.0.2"
rand = "0.5" rand = "0.6"
smallvec = "0.6.5" smallvec = "0.6.5"
tokio-codec = "0.1" tokio-codec = "0.1"
tokio-io = "0.1" tokio-io = "0.1"

View File

@ -12,7 +12,7 @@ libp2p-peerstore = { path = "../../stores/peerstore" }
libp2p-core = { path = "../../core" } libp2p-core = { path = "../../core" }
log = "0.4.1" log = "0.4.1"
multiaddr = { path = "../../misc/multiaddr" } multiaddr = { path = "../../misc/multiaddr" }
parking_lot = "0.6" parking_lot = "0.7"
protobuf = "2.0.2" protobuf = "2.0.2"
smallvec = "0.6" smallvec = "0.6"
tokio-codec = "0.1" tokio-codec = "0.1"

View File

@ -18,9 +18,9 @@ libp2p-core = { path = "../../core" }
log = "0.4" log = "0.4"
multiaddr = { path = "../../misc/multiaddr" } multiaddr = { path = "../../misc/multiaddr" }
multihash = { path = "../../misc/multihash" } multihash = { path = "../../misc/multihash" }
parking_lot = "0.6" parking_lot = "0.7"
protobuf = "2.0.2" protobuf = "2.0.2"
rand = "0.4.2" rand = "0.6.0"
smallvec = "0.6" smallvec = "0.6"
tokio-codec = "0.1" tokio-codec = "0.1"
tokio-io = "0.1" tokio-io = "0.1"
@ -29,5 +29,4 @@ unsigned-varint = { version = "0.2.1", features = ["codec"] }
[dev-dependencies] [dev-dependencies]
libp2p-tcp-transport = { path = "../../transports/tcp" } libp2p-tcp-transport = { path = "../../transports/tcp" }
rand = "0.4.2"
tokio = "0.1" tokio = "0.1"

View File

@ -12,8 +12,8 @@ log = "0.4.1"
multiaddr = { path = "../../misc/multiaddr" } multiaddr = { path = "../../misc/multiaddr" }
multistream-select = { path = "../../misc/multistream-select" } multistream-select = { path = "../../misc/multistream-select" }
futures = "0.1" futures = "0.1"
parking_lot = "0.6" parking_lot = "0.7"
rand = "0.5" rand = "0.6"
tokio-codec = "0.1" tokio-codec = "0.1"
tokio-io = "0.1" tokio-io = "0.1"
tokio-timer = "0.2.6" tokio-timer = "0.2.6"

View File

@ -11,13 +11,13 @@ futures = "0.1"
libp2p-core = { path = "../../core" } libp2p-core = { path = "../../core" }
log = "0.4.1" log = "0.4.1"
protobuf = "2.0.2" protobuf = "2.0.2"
rand = "0.5" rand = "0.6"
secp256k1 = {version = "0.11", optional = true } secp256k1 = {version = "0.11", optional = true }
aes-ctr = "0.1.0" aes-ctr = "0.1.0"
aesni = { version = "0.4.1", features = ["nocheck"], optional = true } aesni = { version = "0.4.1", features = ["nocheck"], optional = true }
twofish = "0.1.0" twofish = "0.1.0"
ctr = "0.1" 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" } rw-stream-sink = { path = "../../misc/rw-stream-sink" }
tokio-io = "0.1.0" tokio-io = "0.1.0"
sha2 = "0.7.1" sha2 = "0.7.1"

View File

@ -259,7 +259,7 @@ impl SecioKeyPair {
/// Generates a new Ed25519 key pair and uses it. /// Generates a new Ed25519 key pair and uses it.
pub fn ed25519_generated() -> Result<SecioKeyPair, Box<Error + Send + Sync>> { 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); let keypair: Ed25519KeyPair = Ed25519KeyPair::generate::<sha2::Sha512, _>(&mut csprng);
Ok(SecioKeyPair { Ok(SecioKeyPair {
inner: SecioKeyPairInner::Ed25519 { inner: SecioKeyPairInner::Ed25519 {

View File

@ -9,7 +9,7 @@ libp2p-core = { path = "../../core" }
log = "0.4.1" log = "0.4.1"
futures = "0.1" futures = "0.1"
multiaddr = { path = "../../misc/multiaddr" } multiaddr = { path = "../../misc/multiaddr" }
tokio-dns-unofficial = "0.3" tokio-dns-unofficial = "0.4"
tokio-io = "0.1" tokio-io = "0.1"
[dev-dependencies] [dev-dependencies]

View File

@ -12,7 +12,7 @@ libp2p-core = { path = "../../core" }
log = "0.4" log = "0.4"
multiaddr = { path = "../../misc/multiaddr" } multiaddr = { path = "../../misc/multiaddr" }
protobuf = "2.0.2" protobuf = "2.0.2"
rand = "0.4" rand = "0.6"
tokio-codec = "0.1" tokio-codec = "0.1"
tokio-io = "0.1" tokio-io = "0.1"
unsigned-varint = { version = "0.2.1", features = ["codec"] } unsigned-varint = { version = "0.2.1", features = ["codec"] }