Skip to content

Commit a25ca0e

Browse files
authored
Merge pull request #349 from Rustmail/dependabot/cargo/rand-0.10.0
cargo(deps): bump rand from 0.9.2 to 0.10.0
2 parents 1cc6667 + eca554a commit a25ca0e

3 files changed

Lines changed: 222 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 220 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rustmail/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ rust-embed = "8.11.0"
2323
mime_guess = "2.0.5"
2424
urlencoding = "2.1.3"
2525
serde_json = "1.0.149"
26-
rand = "0.9.2"
26+
rand = "0.10.0"
2727
subtle = "2.6.1"
2828
sha2 = "0.10.9"
2929
hex = "0.4.3"

crates/rustmail/src/db/operations/api_keys.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::db::repr::{ApiKey, Permission};
22
use chrono::Utc;
33
use hex;
4-
use rand::Rng;
4+
use rand::RngExt;
55
use sha2::{Digest, Sha256};
66
use sqlx::{Row, SqlitePool};
77

0 commit comments

Comments
 (0)