Skip to content

Commit 067e384

Browse files
committed
chore: Update dependencies to latest version
1 parent 8f8d69c commit 067e384

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

Cargo.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@ exclude = [".github", "rfcs"]
1414
repository = "https://github.com/oblique/async-tftp-rs"
1515

1616
[dependencies]
17-
bytes = "1.5.0"
18-
log = "0.4.20"
19-
thiserror = "1.0.48"
17+
bytes = "1.10.1"
18+
log = "0.4.27"
19+
thiserror = "2.0.12"
2020

21-
async-executor = "1.5.1"
22-
async-io = "1.13.0"
23-
async-lock = "2.8.0"
24-
blocking = "1.3.1"
25-
futures-lite = "1.13.0"
21+
async-executor = "1.13.1"
22+
async-io = "2.4.0"
23+
async-lock = "3.4.0"
24+
blocking = "1.6.1"
25+
futures-lite = "2.6.0"
2626

2727
[dev-dependencies]
28-
anyhow = "1.0.75"
29-
async-channel = "1.9.0"
30-
fern = "0.6.2"
28+
anyhow = "1.0.97"
29+
async-channel = "2.3.1"
30+
fern = "0.7.1"
3131
md5 = "0.7.0"
32-
rand = { version = "0.8.5", features = ["small_rng"] }
32+
rand = { version = "0.9.0", features = ["small_rng", "os_rng"] }
3333
structopt = "0.3.26"
34-
tempfile = "3.8.0"
35-
tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros"] }
34+
tempfile = "3.19.1"
35+
tokio = { version = "1.44.2", features = ["rt-multi-thread", "macros"] }
3636

3737
# deps for tftpd-targz.rs
38-
async-compression = { version = "0.4.3", features = ["gzip", "futures-io"] }
39-
async-std = { version = "1.12.0", features = ["unstable"] }
40-
async-tar = "0.4.2"
38+
async-compression = { version = "0.4.22", features = ["gzip", "futures-io"] }
39+
async-std = { version = "1.13.1", features = ["unstable"] }
40+
async-tar = "0.5.0"
4141

4242
[features]
4343
external-client-tests = []

src/tests/random_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl RandomFile {
2323
RandomFile {
2424
size,
2525
read_size: 0,
26-
rng: SmallRng::from_entropy(),
26+
rng: SmallRng::from_os_rng(),
2727
md5_ctx: Some(md5::Context::new()),
2828
md5_tx: Some(md5_tx),
2929
}

0 commit comments

Comments
 (0)