diff --git a/Cargo.toml b/Cargo.toml index e51055e1c942..1392d15bb8e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -234,7 +234,7 @@ time = { version = "0.3", optional = true } serde = { version = "1.0", features = ["derive"] } json5 = "0.4" -thiserror = "1.0" +thiserror = "2.0" base64 = "0.22" mime = { version = "0.3", optional = true } diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 18f9781c9b10..e4b34f2e3db0 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -142,7 +142,7 @@ log = "0.4" cfg-if = "1" pin-project = "1.1" once_cell = "1.17" -thiserror = "1.0" +thiserror = "2.0" arc-swap = "1.7" spin = { version = "0.9" } diff --git a/crates/shadowsocks/Cargo.toml b/crates/shadowsocks/Cargo.toml index 49f1365dc5f6..f669eea5eb96 100644 --- a/crates/shadowsocks/Cargo.toml +++ b/crates/shadowsocks/Cargo.toml @@ -61,7 +61,7 @@ once_cell = "1.17" spin = { version = "0.9", features = ["std"] } pin-project = "1.1" bloomfilter = { version = "2.0.0", optional = true } -thiserror = "1.0" +thiserror = "2.0" rand = { version = "0.8", optional = true } lru_time_cache = { version = "0.11", optional = true }