diff --git a/Cargo.lock b/Cargo.lock index 91f6c6d..f77fcb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1585,7 +1585,7 @@ dependencies = [ "rand 0.8.6", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tokio-util", "toml", @@ -1610,7 +1610,7 @@ dependencies = [ "reqwest 0.12.28", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tracing", "uuid", @@ -1650,7 +1650,7 @@ dependencies = [ "reqwest 0.12.28", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tracing", "url", @@ -1672,7 +1672,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tracing", ] @@ -1688,7 +1688,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 c8817cc..7b0ac97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,7 +51,7 @@ rusqlite = { version = "0.31", 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"] }