Disable trust-dns unless the feature is set

This commit is contained in:
David Lönnhager
2022-03-31 21:30:47 +08:00
committed by ty
parent 0453cef3f4
commit 7388ddfb7d
+1 -1
View File
@@ -123,7 +123,7 @@ smoltcp = { version = "0.8", optional = true, default-features = false, features
serde = { version = "1.0", features = ["derive"] }
json5 = "0.4"
shadowsocks = { version = "1.14.1", path = "../shadowsocks" }
shadowsocks = { version = "1.14.1", path = "../shadowsocks", default-features = false }
# Just for the ioctl call macro
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]