Skip to content
Snippets Groups Projects

chore(deps): update rust crate rand to 0.9.0

Open renovate requested to merge renovate/rand-0.x into main
4 files
+ 115
22
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -21,8 +21,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// Add "grease" so that the server can handle any optional data
// See: https://lobste.rs/s/utmsph/age_plugins#c_i76hkd
// See: https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417
let grease: String = rand::thread_rng()
.sample_iter(&rand::distributions::Alphanumeric)
let grease: String = rand::rng()
.sample_iter(&rand_distr::Alphanumeric)
.take(7)
.map(char::from)
.collect();
Loading