chore(deps): Update rand

A couple indirect deps are still on rand_core 0.6 but we can deal
This commit is contained in:
Jade Ellis
2026-02-20 22:57:45 +00:00
parent efd879fcd8
commit b6c5991e1f
9 changed files with 406 additions and 198 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ fn build_report(report: Report) -> RoomMessageEventContent {
/// random delay sending a response per spec suggestion regarding
/// enumerating for potential events existing in our server.
async fn delay_response() {
let time_to_wait = rand::thread_rng().gen_range(2..5);
let time_to_wait = rand::random_range(2..5);
debug_info!(
"Got successful /report request, waiting {time_to_wait} seconds before sending \
successful response."