Skip to content

Commit b424b0d

Browse files
authored
chore: upgrade outdated dependencies (#17776)
dump
1 parent 32ec23b commit b424b0d

File tree

8 files changed

+124
-112
lines changed

8 files changed

+124
-112
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ brotli = "3.3"
265265
bstr = "1"
266266
buf-list = "1.0.3"
267267
bumpalo = "3.12.0"
268-
byte-unit = "4.0.19"
268+
byte-unit = "5.1.6"
269269
bytemuck = { version = "1", features = ["derive"] }
270270
byteorder = "1.4.3"
271271
bytes = "1.5.0"
@@ -274,7 +274,7 @@ cbordata = { version = "0.6.0" }
274274
cfg-if = "1.0.0"
275275
chrono = { version = "0.4.31", features = ["serde"] }
276276
chrono-tz = { version = "0.8", features = ["serde"] }
277-
cidr = { version = "0.2.2" }
277+
cidr = { version = "0.3.1" }
278278
clap = { version = "4.4.2", features = ["derive"] }
279279
codeq = { version = "0.5.2" }
280280
comfy-table = "7"
@@ -375,7 +375,7 @@ naive-cityhash = "0.2.0"
375375
ndarray = "0.15.6"
376376
num = "0.4.0"
377377
num-bigint = "0.4.6"
378-
num-derive = "0.3.3"
378+
num-derive = "0.4.2"
379379
num-traits = "0.2.19"
380380
num_cpus = "1.13.1"
381381
object = "0.36.5"
@@ -487,15 +487,15 @@ strength_reduce = "0.2.4"
487487
stringslice = "0.2.0"
488488
strum = "0.24.1"
489489
sys-info = "0.9"
490-
sysinfo = "0.30"
490+
sysinfo = "0.34.2"
491491
tantivy = "0.22.0"
492492
tantivy-common = "0.7.0"
493493
tantivy-fst = "0.5"
494494
tantivy-jieba = "0.11.0"
495495
temp-env = "0.3.0"
496496
tempfile = "3.4.0"
497-
terminal_size = "0.2.6"
498-
test-harness = "0.1.1"
497+
terminal_size = "0.4.2"
498+
test-harness = "0.3.0"
499499
testcontainers = "0.23"
500500
testcontainers-modules = "0.11.5"
501501
thiserror = { version = "1" }
@@ -522,7 +522,7 @@ volo-thrift = "0.10"
522522
walkdir = "2.3.2"
523523
watcher = { version = "0.1.1" }
524524
wiremock = "0.6"
525-
wkt = "0.10.3"
525+
wkt = "0.11.1"
526526
xorf = { version = "0.11.0", default-features = false, features = ["binary-fuse"] }
527527
xorfilter-rs = "0.5"
528528
zstd = "0.12.3"
@@ -547,7 +547,7 @@ vergen = { version = "8.3.1", default-features = false, features = ["build", "ca
547547
env_logger = "0.11"
548548
fastrace = { version = "0.7.4", features = ["enable"] }
549549
fastrace-opentelemetry = "0.7.4"
550-
log = { version = "0.4.21", features = ["serde", "kv_unstable_std"] }
550+
log = { version = "0.4.27", features = ["serde", "kv_unstable_std"] }
551551
logcall = "0.1.9"
552552
opentelemetry = { version = "0.26.0", features = ["trace", "logs"] }
553553
opentelemetry-otlp = { version = "0.26.0", features = [

src/meta/raft-store/src/snapshot_config.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ impl SnapshotConfig {
116116

117117
info!(
118118
"snapshot {} moved to final path: {}",
119-
snapshot_id.to_string(),
120-
final_path
119+
snapshot_id, final_path
121120
);
122121

123122
Ok(final_path)

src/meta/service/src/meta_service/meta_node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ impl MetaNode {
697697
Ok(())
698698
}
699699
Err(e) => {
700-
error!("join cluster via {} fail: {}", addr, e.to_string());
700+
error!("join cluster via {} fail: {}", addr, e);
701701
Err(e)
702702
}
703703
}

src/query/expression/src/types/timestamp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub const PRECISION_SEC: u8 = 0;
5959
#[inline]
6060
pub fn clamp_timestamp(micros: &mut i64) {
6161
if !(TIMESTAMP_MIN..=TIMESTAMP_MAX).contains(micros) {
62-
error!("{}", format!("timestamp {} is out of range", micros));
62+
error!("timestamp {micros} is out of range");
6363
*micros = TIMESTAMP_MIN;
6464
}
6565
}

src/query/service/src/pipelines/builders/builder_on_finished.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ impl PipelineBuilder {
6262
for (file_name, e) in error_map {
6363
error!(
6464
"copy(on_error={}): file {} encounter error {},",
65-
on_error_mode,
66-
file_name,
67-
e.to_string()
65+
on_error_mode, file_name, e
6866
);
6967
}
7068
}

src/query/service/src/servers/admin/v1/system.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub struct SystemInfo {
3838
#[async_backtrace::framed]
3939
pub async fn system_handler() -> poem::Result<impl IntoResponse> {
4040
let mut sys = System::new();
41-
sys.refresh_cpu();
41+
sys.refresh_cpu_all();
4242
let cpus = sys.cpus();
4343
let cpu = cpus.first().ok_or_else(|| {
4444
poem::Error::from_string("failed to get cpu info.", StatusCode::INTERNAL_SERVER_ERROR)

src/query/sql/src/planner/planner.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ impl Planner {
106106
}
107107
Err(e) => {
108108
warn!(
109-
"Try convert prql to sql failed, still use raw sql to parse. error: {}",
110-
e.to_string()
109+
"Try convert prql to sql failed, still use raw sql to parse. error: {e}"
111110
);
112111
sql.to_string()
113112
}

0 commit comments

Comments
 (0)