mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Revert "vendor reqwest for now, to support read/write timeouts"
This reverts commit cf247baf77
.
The separate read and write timeouts were causing syncs to fail - a
long full upload would time out due to no read activity for example.
Reverting until a better fix can be put in place.
This commit is contained in:
parent
7d7c791504
commit
ef7f61ab39
1 changed files with 4 additions and 8 deletions
|
@ -61,15 +61,11 @@ features = ["trace", "functions", "collation"]
|
|||
version = "0.23.1"
|
||||
features = ["trace", "functions", "collation", "bundled"]
|
||||
|
||||
[target.'cfg(linux)'.dependencies.reqwest]
|
||||
git = "https://github.com/ankitects/reqwest.git"
|
||||
branch = "io-timeout"
|
||||
features = ["json", "socks", "stream", "native-tls-vendored"]
|
||||
[target.'cfg(linux)'.dependencies]
|
||||
reqwest = { version = "0.10.6", features = ["json", "socks", "stream", "native-tls-vendored"] }
|
||||
|
||||
[target.'cfg(not(linux))'.dependencies.reqwest]
|
||||
git = "https://github.com/ankitects/reqwest.git"
|
||||
branch = "io-timeout"
|
||||
features = ["json", "socks", "stream"]
|
||||
[target.'cfg(not(linux))'.dependencies]
|
||||
reqwest = { version = "0.10.6", features = ["json", "socks", "stream" ] }
|
||||
|
||||
[build-dependencies]
|
||||
prost-build = "0.6.1"
|
||||
|
|
Loading…
Reference in a new issue