vendor reqwest for now, to support read/write timeouts
https://github.com/seanmonstar/reqwest/issues/870 adding back now that fix has been applied to a fork of tokio-io-timeout
This commit is contained in:
parent
05efefeff9
commit
7f15d06c58
@ -61,11 +61,15 @@ 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]
|
[target.'cfg(linux)'.dependencies.reqwest]
|
||||||
reqwest = { version = "0.10.6", features = ["json", "socks", "stream", "native-tls-vendored"] }
|
git = "https://github.com/ankitects/reqwest.git"
|
||||||
|
branch = "io-timeout"
|
||||||
|
features = ["json", "socks", "stream", "native-tls-vendored"]
|
||||||
|
|
||||||
[target.'cfg(not(linux))'.dependencies]
|
[target.'cfg(not(linux))'.dependencies.reqwest]
|
||||||
reqwest = { version = "0.10.6", features = ["json", "socks", "stream" ] }
|
git = "https://github.com/ankitects/reqwest.git"
|
||||||
|
branch = "io-timeout"
|
||||||
|
features = ["json", "socks", "stream"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.6.1"
|
prost-build = "0.6.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user