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](https://github.com/RustCrypto/stream-ciphers/compare/ctr-v0.7.0...salsa20-v0.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

* *: Update changelog and cargo tomls

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
dependabot[bot] 2021-04-30 10:09:13 +02:00 committed by GitHub
parent d931f36428
commit 5c541a16f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 7 deletions

View File

@ -41,11 +41,12 @@
# `libp2p` facade crate # `libp2p` facade crate
## Version 0.37.2 [unreleased] ## Version 0.38.0 [unreleased]
- Update individual crates. - Update individual crates.
- `libp2p-core` - `libp2p-core`
- `libp2p-gossipsub` - `libp2p-gossipsub`
- `libp2p-pnet`
- `libp2p-wasm-ext` - `libp2p-wasm-ext`
## Version 0.37.1 [2021-04-14] ## Version 0.37.1 [2021-04-14]

View File

@ -2,7 +2,7 @@
name = "libp2p" name = "libp2p"
edition = "2018" edition = "2018"
description = "Peer-to-peer networking library" description = "Peer-to-peer networking library"
version = "0.37.2" version = "0.38.0"
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"
@ -73,7 +73,7 @@ libp2p-mplex = { version = "0.28.0", path = "muxers/mplex", optional = true }
libp2p-noise = { version = "0.30.0", path = "transports/noise", optional = true } libp2p-noise = { version = "0.30.0", path = "transports/noise", optional = true }
libp2p-ping = { version = "0.29.0", path = "protocols/ping", optional = true } libp2p-ping = { version = "0.29.0", path = "protocols/ping", optional = true }
libp2p-plaintext = { version = "0.28.0", path = "transports/plaintext", optional = true } libp2p-plaintext = { version = "0.28.0", path = "transports/plaintext", optional = true }
libp2p-pnet = { version = "0.20.0", path = "transports/pnet", optional = true } libp2p-pnet = { version = "0.21.0", path = "transports/pnet", optional = true }
libp2p-relay = { version = "0.2.0", path = "protocols/relay", optional = true } libp2p-relay = { version = "0.2.0", path = "protocols/relay", optional = true }
libp2p-request-response = { version = "0.11.0", path = "protocols/request-response", optional = true } libp2p-request-response = { version = "0.11.0", path = "protocols/request-response", optional = true }
libp2p-swarm = { version = "0.29.0", path = "swarm" } libp2p-swarm = { version = "0.29.0", path = "swarm" }

View File

@ -1,3 +1,7 @@
# 0.21.0 [unreleased]
- Update dependencies.
# 0.20.0 [2020-12-17] # 0.20.0 [2020-12-17]
- Update dependencies. - Update 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.20.0" version = "0.21.0"
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,7 +12,7 @@ categories = ["network-programming", "asynchronous"]
[dependencies] [dependencies]
futures = "0.3.1" futures = "0.3.1"
log = "0.4.8" log = "0.4.8"
salsa20 = "0.7" salsa20 = "0.8"
sha3 = "0.9" sha3 = "0.9"
rand = "0.7" rand = "0.7"
pin-project = "1.0.2" pin-project = "1.0.2"

View File

@ -25,7 +25,7 @@ use futures::{
}; };
use log::trace; use log::trace;
use pin_project::pin_project; use pin_project::pin_project;
use salsa20::{cipher::SyncStreamCipher, XSalsa20}; use salsa20::{cipher::StreamCipher, XSalsa20};
use std::{fmt, pin::Pin}; use std::{fmt, pin::Pin};
/// A writer that encrypts and forwards to an inner writer /// A writer that encrypts and forwards to an inner writer

View File

@ -30,7 +30,7 @@ use log::trace;
use pin_project::pin_project; use pin_project::pin_project;
use rand::RngCore; use rand::RngCore;
use salsa20::{ use salsa20::{
cipher::{NewStreamCipher, SyncStreamCipher}, cipher::{NewCipher, StreamCipher},
Salsa20, XSalsa20, Salsa20, XSalsa20,
}; };
use sha3::{digest::ExtendableOutput, Shake128}; use sha3::{digest::ExtendableOutput, Shake128};