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:
parent
7c444b4d35
commit
9e56720c2b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user