mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
Revert "vendor reqwest for now, to support read/write timeouts"
This reverts commit b3edeaac86.
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
58c8609332
commit
a6f5d48cca
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