From cbd1fa44d7b40daa6c403cd0105aea019519823f Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Mon, 24 Nov 2025 13:19:54 +0800 Subject: [PATCH] fix(reqwest): add native-tls feature to reqwest dependency #5559 --- Changelog.md | 1 + src-tauri/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 8c6ffddf7..0030566c4 100644 --- a/Changelog.md +++ b/Changelog.md @@ -33,6 +33,7 @@
🚀 优化改进 +- 网络请求使用系统证书,避免服务器证书链路配置缺陷无法导入订阅 - 替换前端信息编辑组件,提供更好性能 - 优化后端内存和性能表现 - 防止退出时可能的禁用 TUN 失败 diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 5e5fbaa61..c82208c42 100755 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -62,7 +62,7 @@ once_cell = { version = "1.21.3", features = ["parking_lot"] } port_scanner = "0.1.5" delay_timer = "0.11.6" percent-encoding = "2.3.2" -reqwest = { version = "0.12.24", features = ["json", "cookies"] } +reqwest = { version = "0.12.24", features = ["json", "cookies", "native-tls"] } regex = "1.12.2" sysproxy = { git = "https://github.com/clash-verge-rev/sysproxy-rs", features = [ "guard",