Skip to content

Commit cb84ad5

Browse files
committed
update: Bump dependencies to latest versions
- tokio 1.47.1 -> 1.48.0 - clap 4 -> 4.5.53 - anyhow 1.0.99 -> 1.0.100 - thiserror 2.0.16 -> 2.0.17 - tracing 0.1.41 -> 0.1.43 - serde 1.0.219 -> 1.0.228 - indicatif 0.18.0 -> 0.18.3 - chrono 0.4.41 -> 0.4.42 - owo-colors 4.2.2 -> 4.2.3 - criterion 0.5 -> 0.8 - mockall 0.12 -> 0.14 - And various other minor version bumps - Fix benchmark to use std::hint::black_box (criterion 0.8 deprecation)
1 parent e11d8c0 commit cb84ad5

3 files changed

Lines changed: 59 additions & 61 deletions

File tree

Cargo.lock

Lines changed: 33 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,60 +11,60 @@ categories = ["command-line-utilities"]
1111
edition = "2021"
1212

1313
[dependencies]
14-
tokio = { version = "1.47.1", features = ["full"] }
14+
tokio = { version = "1.48.0", features = ["full"] }
1515
russh = "0.55.0"
1616
russh-sftp = "2.1.1"
17-
clap = { version = "4", features = ["derive", "env"] }
18-
anyhow = "1.0.99"
19-
thiserror = "2.0.16"
20-
tracing = "0.1.41"
17+
clap = { version = "4.5.53", features = ["derive", "env"] }
18+
anyhow = "1.0.100"
19+
thiserror = "2.0.17"
20+
tracing = "0.1.43"
2121
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
22-
serde = { version = "1.0.219", features = ["derive"] }
22+
serde = { version = "1.0.228", features = ["derive"] }
2323
serde_yaml = "0.9"
2424
futures = "0.3.31"
2525
async-trait = "0.1.89"
26-
indicatif = "0.18.0"
26+
indicatif = "0.18.3"
2727
rpassword = "7.4.0"
2828
directories = "6.0.0"
2929
dirs = "6.0"
30-
chrono = "0.4.41"
30+
chrono = "0.4.42"
3131
glob = "0.3.3"
3232
whoami = "1.6.1"
33-
owo-colors = "4.2.2"
33+
owo-colors = "4.2.3"
3434
unicode-width = "0.2.0"
3535
terminal_size = "0.4.3"
36-
once_cell = "1.20"
37-
zeroize = { version = "1.8", features = ["derive"] }
36+
once_cell = "1.21.3"
37+
zeroize = { version = "1.8.2", features = ["derive"] }
3838
secrecy = { version = "0.10.3", features = ["serde"] }
39-
rustyline = "17.0.1"
39+
rustyline = "17.0.2"
4040
crossterm = "0.29"
4141
ratatui = "0.29"
4242
regex = "1.12.2"
4343
lazy_static = "1.5"
44-
ctrlc = "3.4"
44+
ctrlc = "3.5.1"
4545
signal-hook = "0.3.18"
4646
atty = "0.2.14"
4747
arrayvec = "0.7.6"
48-
smallvec = "1.13.2"
49-
lru = "0.16"
50-
uuid = { version = "1.10", features = ["v4"] }
51-
fastrand = "2.2"
52-
tokio-util = "0.7"
53-
shell-words = "1.1"
48+
smallvec = "1.15.1"
49+
lru = "0.16.2"
50+
uuid = { version = "1.19.0", features = ["v4"] }
51+
fastrand = "2.3.0"
52+
tokio-util = "0.7.17"
53+
shell-words = "1.1.1"
5454

5555
[target.'cfg(target_os = "macos")'.dependencies]
5656
security-framework = "3.5.1"
5757
libc = "0.2"
5858

5959
[dev-dependencies]
60-
tempfile = "3"
61-
mockito = "1"
60+
tempfile = "3.23.0"
61+
mockito = "1.7.1"
6262
once_cell = "1.21.3"
6363
tokio-test = "0.4"
6464
serial_test = "3.2"
65-
insta = "1.34"
66-
criterion = { version = "0.5", features = ["html_reports"] }
67-
mockall = "0.12"
65+
insta = "1.44"
66+
criterion = { version = "0.8", features = ["html_reports"] }
67+
mockall = "0.14"
6868

6969
[[bench]]
7070
name = "large_output_benchmark"

benches/large_output_benchmark.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ use bssh::executor::{MultiNodeStreamManager, NodeStream};
2424
use bssh::node::Node;
2525
use bssh::ssh::tokio_client::CommandOutput;
2626
use bssh::ui::tui::app::TuiApp;
27-
use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion, Throughput};
27+
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput};
2828
use ratatui::backend::TestBackend;
2929
use ratatui::Terminal;
3030
use russh::CryptoVec;
31+
use std::hint::black_box;
3132
use tokio::runtime::Runtime;
3233
use tokio::sync::mpsc;
3334

0 commit comments

Comments
 (0)