feat: 改用 rustls-tls-webpki-roots 以尝试解决某些网络问题

This commit is contained in:
xkeyC 2024-03-12 22:14:13 +08:00
parent cb924f267c
commit 73413caca0

View File

@ -18,7 +18,7 @@ uuid = { version = "1.7.0", features = ["v4", "fast-rng", "macro-diagnostics"] }
async-std = "1.12.0" async-std = "1.12.0"
hyper = { version = "0.14.28"} hyper = { version = "0.14.28"}
once_cell = "1.19.0" once_cell = "1.19.0"
reqwest = { version = "0.11", features = ["rustls-tls-native-roots", "cookies", "gzip", "json","stream"] } reqwest = { version = "0.11", features = ["rustls-tls-webpki-roots", "cookies", "gzip", "json","stream"] }
hickory-resolver = {version = "0.24.0"} hickory-resolver = {version = "0.24.0"}
anyhow = "1.0" anyhow = "1.0"
win32job = "2" win32job = "2"