fix: update shadowsocks crate to 1.22.0 to avoid panic when parsing some QR codes

`aead-cipher` feature has become optional
and is disabled by default.
We enable it to avoid breaking compatibility.
This commit is contained in:
link2xt
2025-01-02 20:07:56 +00:00
committed by l
parent 62e22286bb
commit 8ec098210e
4 changed files with 101 additions and 43 deletions

View File

@@ -93,7 +93,7 @@ serde_urlencoded = "0.7.1"
serde = { workspace = true, features = ["derive"] }
sha-1 = "0.10"
sha2 = "0.10"
shadowsocks = { version = "1.21.0", default-features = false, features = ["aead-cipher-2022"] }
shadowsocks = { version = "1.22.0", default-features = false, features = ["aead-cipher", "aead-cipher-2022"] }
smallvec = "1.13.2"
strum = "0.26"
strum_macros = "0.26"