Skip to content

Commit 5c541a1

Browse files
build(deps): update salsa20 requirement from 0.7 to 0.8 (#2062)
* build(deps): update salsa20 requirement from 0.7 to 0.8 Updates the requirements on [salsa20](https://github.com/RustCrypto/stream-ciphers) to permit the latest version. - [Release notes](https://github.com/RustCrypto/stream-ciphers/releases) - [Commits](RustCrypto/stream-ciphers@ctr-v0.7.0...salsa20-v0.8.0) Signed-off-by: dependabot[bot] <[email protected]> * *: Update changelog and cargo tomls Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Inden <[email protected]>
1 parent d931f36 commit 5c541a1

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@
4141

4242
# `libp2p` facade crate
4343

44-
## Version 0.37.2 [unreleased]
44+
## Version 0.38.0 [unreleased]
4545

4646
- Update individual crates.
4747
- `libp2p-core`
4848
- `libp2p-gossipsub`
49+
- `libp2p-pnet`
4950
- `libp2p-wasm-ext`
5051

5152
## Version 0.37.1 [2021-04-14]

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "libp2p"
33
edition = "2018"
44
description = "Peer-to-peer networking library"
5-
version = "0.37.2"
5+
version = "0.38.0"
66
authors = ["Parity Technologies <[email protected]>"]
77
license = "MIT"
88
repository = "https://github.com/libp2p/rust-libp2p"
@@ -73,7 +73,7 @@ libp2p-mplex = { version = "0.28.0", path = "muxers/mplex", optional = true }
7373
libp2p-noise = { version = "0.30.0", path = "transports/noise", optional = true }
7474
libp2p-ping = { version = "0.29.0", path = "protocols/ping", optional = true }
7575
libp2p-plaintext = { version = "0.28.0", path = "transports/plaintext", optional = true }
76-
libp2p-pnet = { version = "0.20.0", path = "transports/pnet", optional = true }
76+
libp2p-pnet = { version = "0.21.0", path = "transports/pnet", optional = true }
7777
libp2p-relay = { version = "0.2.0", path = "protocols/relay", optional = true }
7878
libp2p-request-response = { version = "0.11.0", path = "protocols/request-response", optional = true }
7979
libp2p-swarm = { version = "0.29.0", path = "swarm" }

transports/pnet/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.21.0 [unreleased]
2+
3+
- Update dependencies.
4+
15
# 0.20.0 [2020-12-17]
26

37
- Update dependencies.

transports/pnet/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "libp2p-pnet"
33
edition = "2018"
44
description = "Private swarm support for libp2p"
5-
version = "0.20.0"
5+
version = "0.21.0"
66
authors = ["Parity Technologies <[email protected]>"]
77
license = "MIT"
88
repository = "https://github.com/libp2p/rust-libp2p"
@@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"]
1212
[dependencies]
1313
futures = "0.3.1"
1414
log = "0.4.8"
15-
salsa20 = "0.7"
15+
salsa20 = "0.8"
1616
sha3 = "0.9"
1717
rand = "0.7"
1818
pin-project = "1.0.2"

transports/pnet/src/crypt_writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use futures::{
2525
};
2626
use log::trace;
2727
use pin_project::pin_project;
28-
use salsa20::{cipher::SyncStreamCipher, XSalsa20};
28+
use salsa20::{cipher::StreamCipher, XSalsa20};
2929
use std::{fmt, pin::Pin};
3030

3131
/// A writer that encrypts and forwards to an inner writer

transports/pnet/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use log::trace;
3030
use pin_project::pin_project;
3131
use rand::RngCore;
3232
use salsa20::{
33-
cipher::{NewStreamCipher, SyncStreamCipher},
33+
cipher::{NewCipher, StreamCipher},
3434
Salsa20, XSalsa20,
3535
};
3636
use sha3::{digest::ExtendableOutput, Shake128};

0 commit comments

Comments
 (0)