mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue