Skip to main content

max / goingson

Bump rand to 0.10.2 random() moved to the RngExt trait in 0.10; import updated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-21 00:19 UTC
Commit: 30875ee85ef6946fd43a339c5c596bee7ec823dd
Parent: b391a16
3 files changed, +4 insertions, -4 deletions
M Cargo.lock +2 -2
@@ -2245,7 +2245,7 @@ dependencies = [
2245 2245 "open",
2246 2246 "openssl",
2247 2247 "pter",
2248 - "rand 0.9.2",
2248 + "rand 0.10.2",
2249 2249 "reqwest",
2250 2250 "rfd",
2251 2251 "serde",
@@ -6347,7 +6347,7 @@ dependencies = [
6347 6347 "chrono",
6348 6348 "keyring",
6349 6349 "parking_lot",
6350 - "rand 0.9.2",
6350 + "rand 0.10.2",
6351 6351 "reqwest",
6352 6352 "rusqlite",
6353 6353 "serde",
M Cargo.toml +1 -1
@@ -45,7 +45,7 @@ lettre = { version = "0.11", default-features = false, features = ["tokio1", "to
45 45 reqwest = { version = "0.13", default-features = false, features = ["json", "native-tls", "form", "multipart"] }
46 46
47 47 # Security / OAuth
48 - rand = "0.9"
48 + rand = "0.10"
49 49 base64 = "0.22"
50 50 sha2 = "0.10"
51 51
@@ -9,7 +9,7 @@
9 9
10 10 use async_trait::async_trait;
11 11 use base64::{engine::general_purpose::{URL_SAFE_NO_PAD, STANDARD}, Engine};
12 - use rand::Rng;
12 + use rand::RngExt;
13 13 use serde::{Deserialize, Serialize};
14 14 use sha2::{Digest, Sha256};
15 15