Skip to content

Commit

Permalink
Merge pull request #471 from jelmer/rand
Browse files Browse the repository at this point in the history
Bump rand to 0.9
  • Loading branch information
jelmer authored Feb 3, 2025
2 parents 8c9a448 + 6f256a6 commit 83f664f
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 16 deletions.
109 changes: 95 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ gpgme = { version = "0.11.0", optional = true }
pyo3 = { optional = true, workspace = true }
lazy_static = "1.5.0"
debian-control = { version = ">=0.1", optional = true }
rand = "0.8.5"
rand = "0.9.0"

[workspace]
members = [ "svp-client", "svp-py" ]
Expand Down
2 changes: 1 addition & 1 deletion src/debian/uploader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ pub fn main(
if shuffle {
use rand::seq::SliceRandom;
// Shuffle packages vec
let mut rng = rand::thread_rng();
let mut rng = rand::rng();
packages.shuffle(&mut rng);
}

Expand Down

0 comments on commit 83f664f

Please sign in to comment.