Revert "use trust-dns in reqwest"

This reverts commit abe90d0772.

trust-dns has introduced its own issues, such as when resolv.conf is
inaccessible, or contains hostnames with certain characters
This commit is contained in:
Damien Elmes 2020-06-08 22:02:37 +10:00
parent 7c444b4d35
commit 9e56720c2b

View File

@ -59,10 +59,10 @@ version = "0.23.1"
features = ["trace", "functions", "collation", "bundled"]
[target.'cfg(linux)'.dependencies]
reqwest = { version = "0.10.1", features = ["json", "socks", "stream", "trust-dns", "native-tls-vendored"] }
reqwest = { version = "0.10.1", features = ["json", "socks", "stream", "native-tls-vendored"] }
[target.'cfg(not(linux))'.dependencies]
reqwest = { version = "0.10.1", features = ["json", "socks", "stream", "trust-dns" ] }
reqwest = { version = "0.10.1", features = ["json", "socks", "stream" ] }
[build-dependencies]
prost-build = "0.6.1"