fix(deps): use rustls-tls for reqwest to fix openssl error on android target

This commit is contained in:
amizing25
2025-04-15 18:48:31 +07:00
parent d14bc79fcc
commit 284e5cd48e
+14 -3
View File
@@ -11,7 +11,18 @@ tokio = { version = "1.36.0", features = ["full"] }
axum = "0.8.1" axum = "0.8.1"
axum-server = "0.7.1" axum-server = "0.7.1"
tower-http = "0.6.2" tower-http = "0.6.2"
reqwest = "0.12.12" reqwest = { version = "0.12", default-features = false, features = [
"json",
"multipart",
"cookies",
"gzip",
"brotli",
"deflate",
"rustls-tls",
"charset",
"http2",
"macos-system-configuration",
] }
# JSON # JSON
serde = { version = "1.0.197", features = ["derive"] } serde = { version = "1.0.197", features = ["derive"] }
@@ -49,8 +60,8 @@ proto = { path = "proto/" }
proto-derive = { path = "proto/proto-derive" } proto-derive = { path = "proto/proto-derive" }
mhy-kcp = { path = "kcp/", features = ["tokio"] } mhy-kcp = { path = "kcp/", features = ["tokio"] }
common = { path = "common/" } common = { path = "common/" }
sdkserver = { path = "sdkserver/"} sdkserver = { path = "sdkserver/" }
gameserver = { path = "gameserver/"} gameserver = { path = "gameserver/" }
[profile.release] [profile.release]
strip = true # Automatically strip symbols from the binary. strip = true # Automatically strip symbols from the binary.