Skip to content

Commit e0cb385

Browse files
authored
Merge pull request #39 from goToMain/dependabot/cargo/rand-0.10.1
build(deps): update rand requirement from 0.9.2 to 0.10.1
2 parents 82eef20 + 47fc666 commit e0cb385

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

libosdp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ itoa = "1.0.17"
2626
[dev-dependencies]
2727
env_logger = "0.11.8"
2828
multiqueue = "0.3.2"
29-
rand = "0.9.2"
29+
rand = "0.10.1"
3030
ringbuf = "0.5.0"
3131
sha256 = "1.6.0"
3232

libosdp/tests/file_transfer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type Result<T> = core::result::Result<T, libosdp::OsdpError>;
99

1010
use core::time::Duration;
1111
use libosdp::{OsdpCommand, OsdpCommandFileTx, OsdpError, OsdpFileOps};
12-
use rand::Rng;
12+
use rand::RngExt;
1313
use std::{
1414
cmp,
1515
collections::HashMap,

osdpctl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ libosdp = { path = "../libosdp" }
2424
log = "0.4.29"
2525
log4rs = "1.4.0"
2626
nix = { version = "0.31.1", features = ["signal"] }
27-
rand = "0.9.2"
27+
rand = "0.10.1"
2828
toml = "1.1.2"

osdpctl/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use anyhow::bail;
77
use anyhow::Context;
88
use configparser::ini::Ini;
99
use libosdp::{ControlPanelBuilder, OsdpFlag, PdCapability, PdId, PdInfoBuilder};
10-
use rand::Rng;
10+
use rand::RngExt;
1111
use std::{
1212
fmt::Write,
1313
path::{Path, PathBuf},

0 commit comments

Comments
 (0)