From 6cdcbc652d7de85e3986dd4e9edba22e83d4a276 Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Mon, 13 Nov 2023 16:27:11 +0100 Subject: [PATCH] noise-rust-crypto: disable default features on chacha20poly1305 This dep switched its default features in https://github.com/RustCrypto/AEADs/commit/d6f510e381c85c0d01069d26ec1d7a87c4cb01ab, enabling `getrandom`, which is not compatible with all targets. This crate does not rely on it. --- noise-rust-crypto/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noise-rust-crypto/Cargo.toml b/noise-rust-crypto/Cargo.toml index 4356a60..4693c99 100644 --- a/noise-rust-crypto/Cargo.toml +++ b/noise-rust-crypto/Cargo.toml @@ -20,7 +20,7 @@ use-sha2 = ["sha2"] [dependencies] x25519-dalek = { version = "2.0.0", optional = true, default-features = false } aes-gcm = { version = "0.10.3", features = ["aes"], default-features = false, optional = true } -chacha20poly1305 = { version = "0.10.1", optional = true } +chacha20poly1305 = { version = "0.10.1", default-features = false, optional = true } blake2 = { version = "0.10.6", optional = true } sha2 = { version = "0.10.8", optional = true, default-features = false } zeroize = { version = "1", default-features = false }