diff --git a/CHANGELOG.md b/CHANGELOG.md index 69555d53..a7f8eece 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ # Version 0.29.0 [unreleased] - 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`. # Version 0.28.1 [2020-09-10] diff --git a/Cargo.toml b/Cargo.toml index 04640d18..87cad0c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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-ping = { version = "0.22.0", path = "protocols/ping", 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-swarm = { version = "0.22.0", path = "swarm" } 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 } multiaddr = { package = "parity-multiaddr", version = "0.9.3", path = "misc/multiaddr" } multihash = "0.11.0" -parking_lot = "0.10.0" +parking_lot = "0.11.0" pin-project = "0.4.17" smallvec = "1.0" wasm-timer = "0.2.4" diff --git a/core/Cargo.toml b/core/Cargo.toml index 1d0d2c55..0e52785a 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -23,7 +23,7 @@ log = "0.4" multiaddr = { package = "parity-multiaddr", version = "0.9.2", path = "../misc/multiaddr" } multihash = "0.11.0" 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" prost = "0.6.1" rand = "0.7" diff --git a/muxers/mplex/Cargo.toml b/muxers/mplex/Cargo.toml index eb5f0020..39262631 100644 --- a/muxers/mplex/Cargo.toml +++ b/muxers/mplex/Cargo.toml @@ -16,7 +16,7 @@ futures = "0.3.1" futures_codec = "0.4" libp2p-core = { version = "0.22.0", path = "../../core" } log = "0.4" -parking_lot = "0.10" +parking_lot = "0.11" unsigned-varint = { version = "0.5", features = ["futures-codec"] } [dev-dependencies] diff --git a/protocols/pnet/CHANGELOG.md b/protocols/pnet/CHANGELOG.md index 5dde110e..3025ee6a 100644 --- a/protocols/pnet/CHANGELOG.md +++ b/protocols/pnet/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.19.2 [unreleased] + +- Update dependencies. + # 0.19.1 [2020-06-22] - Updated dependencies. diff --git a/protocols/pnet/Cargo.toml b/protocols/pnet/Cargo.toml index e2700834..380a382c 100644 --- a/protocols/pnet/Cargo.toml +++ b/protocols/pnet/Cargo.toml @@ -2,7 +2,7 @@ name = "libp2p-pnet" edition = "2018" description = "Private swarm support for libp2p" -version = "0.19.1" +version = "0.19.2" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" @@ -12,8 +12,8 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = "0.3.1" log = "0.4.8" -salsa20 = "0.3.0" -sha3 = "0.8" +salsa20 = "0.6.0" +sha3 = "0.9" rand = "0.7" pin-project = "0.4.17" diff --git a/protocols/pnet/src/lib.rs b/protocols/pnet/src/lib.rs index e4715342..0feb627a 100644 --- a/protocols/pnet/src/lib.rs +++ b/protocols/pnet/src/lib.rs @@ -74,7 +74,7 @@ impl PreSharedKey { cipher.apply_keystream(&mut enc); let mut hasher = Shake128::default(); 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) } }