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"
|
||||
features = ["trace", "functions", "collation", "bundled"]
|
||||
|
||||
[target.'cfg(linux)'.dependencies]
|
||||
reqwest = { version = "0.10.6", features = ["json", "socks", "stream", "native-tls-vendored"] }
|
||||
[target.'cfg(linux)'.dependencies.reqwest]
|
||||
git = "https://github.com/ankitects/reqwest.git"
|
||||
branch = "io-timeout"
|
||||
features = ["json", "socks", "stream", "native-tls-vendored"]
|
||||
|
||||
[target.'cfg(not(linux))'.dependencies]
|
||||
reqwest = { version = "0.10.6", features = ["json", "socks", "stream" ] }
|
||||
[target.'cfg(not(linux))'.dependencies.reqwest]
|
||||
git = "https://github.com/ankitects/reqwest.git"
|
||||
branch = "io-timeout"
|
||||
features = ["json", "socks", "stream"]
|
||||
|
||||
[build-dependencies]
|
||||
prost-build = "0.6.1"
|
||||
|
Loading…
Reference in New Issue
Block a user