From 109356f129b18c27d0f04b2c95f1919ba105d37a Mon Sep 17 00:00:00 2001 From: Tobias Deiminger Date: Tue, 3 Mar 2026 10:51:53 +0100 Subject: [PATCH] sasl: Support getrandom 0.3 and 0.4 getrandom 0.4.1 was released on 2026-02-03. sasl can use it without code change. --- sasl/CHANGELOG.md | 1 + sasl/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sasl/CHANGELOG.md b/sasl/CHANGELOG.md index c703b5f7..75378aa2 100644 --- a/sasl/CHANGELOG.md +++ b/sasl/CHANGELOG.md @@ -1,6 +1,7 @@ Version NEXT, released 20??-??-??: * Improvements - This crate is now `no_std`, you can use it even on platforms which don’t provide the `std` crate. + - Support getrandom 0.3 and 0.4. Version 0.5.2, released 2024-07-22: * Improvements diff --git a/sasl/Cargo.toml b/sasl/Cargo.toml index 724a60d2..a6895c6e 100644 --- a/sasl/Cargo.toml +++ b/sasl/Cargo.toml @@ -21,7 +21,7 @@ anonymous = ["getrandom"] [dependencies] base64 = { version = "0.22", optional = true } -getrandom = { version = "0.3", optional = true } +getrandom = { version = ">=0.3.0, <0.5", optional = true } sha1 = { version = "0.10", optional = true } sha2 = { version = "0.10", optional = true } hmac = { version = "0.12", optional = true }