diff --git a/Cargo.lock b/Cargo.lock index 6db2f27..bc60bea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1582,7 +1582,7 @@ dependencies = [ "rand 0.8.6", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tokio-util", "toml", @@ -1607,7 +1607,7 @@ dependencies = [ "reqwest 0.12.28", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tracing", "uuid", @@ -1647,7 +1647,7 @@ dependencies = [ "reqwest 0.12.28", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tracing", "url", @@ -1669,7 +1669,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tracing", ] @@ -1685,7 +1685,7 @@ dependencies = [ "rand 0.8.6", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tokio-tungstenite", "tracing", diff --git a/Cargo.toml b/Cargo.toml index 131df28..3176e82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,7 @@ rusqlite = { version = "0.40", features = ["bundled"] } uuid = { version = "1", features = ["v4"] } qrcode = "0.14" # 扫码登录终端二维码 rand = "0.8" -thiserror = "1" +thiserror = "2" anyhow = "1" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] }