chore(deps): bump rand from 0.8.6 to 0.10.1 (#9504)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Douwe M Osinga <douwe@sidewalklabs.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
This commit is contained in:
dependabot[bot]
2026-06-22 17:14:08 +00:00
committed by GitHub
parent a8f1dd0844
commit 102ff05bd2
7 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -43,11 +43,11 @@ use tracing::warn;
const GOOSE_SERVER_SECRET_KEY_ENV: &str = "GOOSE_SERVER__SECRET_KEY";
fn generate_serve_secret_key() -> String {
use rand::distributions::{Alphanumeric, DistString};
use rand::distr::{Alphanumeric, SampleString};
format!(
"goose-acp-{}",
Alphanumeric.sample_string(&mut rand::thread_rng(), 32)
Alphanumeric.sample_string(&mut rand::rng(), 32)
)
}