Skip to content

Commit 51d763f

Browse files
committed
Increase rand dependency lower bound to 0.10.0
Signed-off-by: mulhern <amulhern@redhat.com>
1 parent 6620e62 commit 51d763f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ nix = {version = "0.31.1", features=["fs", "ioctl", "mount"]}
2020
env_logger="0.11.0"
2121
semver = "1.0.0"
2222
serde = "1.0.166"
23-
rand = "0.9.0"
23+
rand = "0.10.0"
2424
retry = {version = "2.0.0", default-features=false}
2525
log = "0.4.17"
2626

‎src/core/dm_udev_sync.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub mod sync_semaphore {
3535

3636
use nix::unistd::{access, AccessFlags};
3737

38-
use rand::Rng;
38+
use rand::RngExt;
3939
use retry::{delay::NoDelay, retry, OperationResult};
4040
use std::{io, path::Path, sync::LazyLock};
4141

0 commit comments

Comments
 (0)