Update dependencies not detected by dependabot (#1776)

- parking_lot to 0.11.0
- salsa20 to 0.6.0
- sha3  to 0.9

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2020-10-01 00:26:35 +08:00
committed by GitHub
parent aaa6e4add3
commit c19344dee7
7 changed files with 13 additions and 9 deletions

View File

@ -26,7 +26,7 @@
# Version 0.29.0 [unreleased] # Version 0.29.0 [unreleased]
- Update `libp2p-core`, `libp2p-floodsub`, `libp2p-gossipsub`, `libp2p-mplex`, - Update `libp2p-core`, `libp2p-floodsub`, `libp2p-gossipsub`, `libp2p-mplex`,
`libp2p-noise`, `libp2p-plaintext`, `libp2p-request-response`, `libp2p-noise`, `libp2p-plaintext`, `libp2p-pnet`, `libp2p-request-response`,
`libp2p-websocket` and `parity-multiaddr`. `libp2p-websocket` and `parity-multiaddr`.
# Version 0.28.1 [2020-09-10] # Version 0.28.1 [2020-09-10]

View File

@ -72,7 +72,7 @@ libp2p-mplex = { version = "0.23.0", path = "muxers/mplex", optional = true }
libp2p-noise = { version = "0.24.1", path = "protocols/noise", optional = true } libp2p-noise = { version = "0.24.1", path = "protocols/noise", optional = true }
libp2p-ping = { version = "0.22.0", path = "protocols/ping", optional = true } libp2p-ping = { version = "0.22.0", path = "protocols/ping", optional = true }
libp2p-plaintext = { version = "0.23.0", path = "protocols/plaintext", optional = true } libp2p-plaintext = { version = "0.23.0", path = "protocols/plaintext", optional = true }
libp2p-pnet = { version = "0.19.1", path = "protocols/pnet", optional = true } libp2p-pnet = { version = "0.19.2", path = "protocols/pnet", optional = true }
libp2p-request-response = { version = "0.4.0", path = "protocols/request-response", optional = true } libp2p-request-response = { version = "0.4.0", path = "protocols/request-response", optional = true }
libp2p-swarm = { version = "0.22.0", path = "swarm" } libp2p-swarm = { version = "0.22.0", path = "swarm" }
libp2p-uds = { version = "0.22.0", path = "transports/uds", optional = true } libp2p-uds = { version = "0.22.0", path = "transports/uds", optional = true }
@ -80,7 +80,7 @@ libp2p-wasm-ext = { version = "0.22.0", path = "transports/wasm-ext", optional =
libp2p-yamux = { version = "0.25.0", path = "muxers/yamux", optional = true } libp2p-yamux = { version = "0.25.0", path = "muxers/yamux", optional = true }
multiaddr = { package = "parity-multiaddr", version = "0.9.3", path = "misc/multiaddr" } multiaddr = { package = "parity-multiaddr", version = "0.9.3", path = "misc/multiaddr" }
multihash = "0.11.0" multihash = "0.11.0"
parking_lot = "0.10.0" parking_lot = "0.11.0"
pin-project = "0.4.17" pin-project = "0.4.17"
smallvec = "1.0" smallvec = "1.0"
wasm-timer = "0.2.4" wasm-timer = "0.2.4"

View File

@ -23,7 +23,7 @@ log = "0.4"
multiaddr = { package = "parity-multiaddr", version = "0.9.2", path = "../misc/multiaddr" } multiaddr = { package = "parity-multiaddr", version = "0.9.2", path = "../misc/multiaddr" }
multihash = "0.11.0" multihash = "0.11.0"
multistream-select = { version = "0.8.3", path = "../misc/multistream-select" } multistream-select = { version = "0.8.3", path = "../misc/multistream-select" }
parking_lot = "0.10.0" parking_lot = "0.11.0"
pin-project = "0.4.17" pin-project = "0.4.17"
prost = "0.6.1" prost = "0.6.1"
rand = "0.7" rand = "0.7"

View File

@ -16,7 +16,7 @@ futures = "0.3.1"
futures_codec = "0.4" futures_codec = "0.4"
libp2p-core = { version = "0.22.0", path = "../../core" } libp2p-core = { version = "0.22.0", path = "../../core" }
log = "0.4" log = "0.4"
parking_lot = "0.10" parking_lot = "0.11"
unsigned-varint = { version = "0.5", features = ["futures-codec"] } unsigned-varint = { version = "0.5", features = ["futures-codec"] }
[dev-dependencies] [dev-dependencies]

View File

@ -1,3 +1,7 @@
# 0.19.2 [unreleased]
- Update dependencies.
# 0.19.1 [2020-06-22] # 0.19.1 [2020-06-22]
- Updated dependencies. - Updated dependencies.

View File

@ -2,7 +2,7 @@
name = "libp2p-pnet" name = "libp2p-pnet"
edition = "2018" edition = "2018"
description = "Private swarm support for libp2p" description = "Private swarm support for libp2p"
version = "0.19.1" version = "0.19.2"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT" license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p" repository = "https://github.com/libp2p/rust-libp2p"
@ -12,8 +12,8 @@ categories = ["network-programming", "asynchronous"]
[dependencies] [dependencies]
futures = "0.3.1" futures = "0.3.1"
log = "0.4.8" log = "0.4.8"
salsa20 = "0.3.0" salsa20 = "0.6.0"
sha3 = "0.8" sha3 = "0.9"
rand = "0.7" rand = "0.7"
pin-project = "0.4.17" pin-project = "0.4.17"

View File

@ -74,7 +74,7 @@ impl PreSharedKey {
cipher.apply_keystream(&mut enc); cipher.apply_keystream(&mut enc);
let mut hasher = Shake128::default(); let mut hasher = Shake128::default();
hasher.write_all(&enc).expect("shake128 failed"); hasher.write_all(&enc).expect("shake128 failed");
hasher.xof_result().read(&mut out).expect("shake128 failed"); hasher.finalize_xof().read(&mut out).expect("shake128 failed");
Fingerprint(out) Fingerprint(out)
} }
} }