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>
3 files changed,
+4 insertions,
-4 deletions
| 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 |
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",
|
| 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 |
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 |
|
|