From 67e660d8133525dbdd7b148ad7158fb41a74c1e8 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Fri, 8 May 2026 15:58:12 +0000 Subject: [PATCH] deps: bump rand 0.10.0 to 0.10.1 Closes RUSTSEC-2026-0097 (unsoundness with custom logger calling rand::rng() from the log handler). Fix is the upstream deprecation of the `log` feature; no API change for our pin. --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9e3ac43..5c90aa2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1067,7 +1067,7 @@ dependencies = [ "nostr", "nostr-sdk", "portable-atomic", - "rand 0.10.0", + "rand 0.10.1", "ratatui", "rtnetlink", "rustables", @@ -2391,9 +2391,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc266eb313df6c5c09c1c7b1fbe2510961e5bcd3add930c1e31f7ed9da0feff8" +checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207" dependencies = [ "chacha20 0.10.0", "getrandom 0.4.1", diff --git a/Cargo.toml b/Cargo.toml index 0c9a543..91f84a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ secp256k1 = { version = "0.30", features = ["rand", "global-context"] } sha2 = "0.10" hkdf = "0.12" chacha20poly1305 = "0.10" -rand = "0.10.0" +rand = "0.10.1" thiserror = "2.0" bech32 = "0.11" serde = { version = "1.0", features = ["derive"] }