mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12: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"
|
version = "0.23.1"
|
||||||
features = ["trace", "functions", "collation", "bundled"]
|
features = ["trace", "functions", "collation", "bundled"]
|
||||||
|
|
||||||
[target.'cfg(linux)'.dependencies.reqwest]
|
[target.'cfg(linux)'.dependencies]
|
||||||
git = "https://github.com/ankitects/reqwest.git"
|
reqwest = { version = "0.10.6", features = ["json", "socks", "stream", "native-tls-vendored"] }
|
||||||
branch = "io-timeout"
|
|
||||||
features = ["json", "socks", "stream", "native-tls-vendored"]
|
|
||||||
|
|
||||||
[target.'cfg(not(linux))'.dependencies.reqwest]
|
[target.'cfg(not(linux))'.dependencies]
|
||||||
git = "https://github.com/ankitects/reqwest.git"
|
reqwest = { version = "0.10.6", features = ["json", "socks", "stream" ] }
|
||||||
branch = "io-timeout"
|
|
||||||
features = ["json", "socks", "stream"]
|
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.6.1"
|
prost-build = "0.6.1"
|
||||||
|
|
Loading…
Reference in a new issue