don't use hickory-dns on android

This commit is contained in:
monosans
2025-04-10 15:56:10 +03:00
parent 8dd4d92c13
commit 9e48e3cca8
+22 -7
View File
@@ -13,6 +13,15 @@ futures = "=0.3.31"
log = "=0.4.27"
maxminddb = "=0.26.0"
ratatui = "=0.29.0"
rlimit = "=0.10.2"
serde = "=1.0.219"
serde_json = "=1.0.140"
tokio = { version = "=1.44.2", features = ["full"] }
toml = "=0.8.20"
tui-logger = "=0.17.0"
url = "=2.5.4"
[target.'cfg(not(target_os = "android"))'.dependencies]
reqwest = { version = "=0.12.15", default-features = false, features = [
"brotli",
"charset",
@@ -25,13 +34,19 @@ reqwest = { version = "=0.12.15", default-features = false, features = [
"socks",
"stream",
] }
rlimit = "=0.10.2"
serde = "=1.0.219"
serde_json = "=1.0.140"
tokio = { version = "=1.44.2", features = ["full"] }
toml = "=0.8.20"
tui-logger = "=0.17.0"
url = "=2.5.4"
[target.'cfg(target_os = "android")'.dependencies]
reqwest = { version = "=0.12.15", default-features = false, features = [
"brotli",
"charset",
"gzip",
"http2",
"json",
"macos-system-configuration",
"rustls-tls",
"socks",
"stream",
] }
[profile.release]
strip = true