add socks support

This commit is contained in:
Damien Elmes 2020-04-09 14:28:36 +10:00
parent 8f7ef6ed2c
commit 11fdd96a44

View file

@ -54,10 +54,10 @@ version = "0.22"
features = ["trace", "functions", "collation", "bundled"]
[target.'cfg(linux)'.dependencies]
reqwest = { version = "0.10.1", features = ["json", "native-tls-vendored"] }
reqwest = { version = "0.10.1", features = ["json", "socks", "native-tls-vendored"] }
[target.'cfg(not(linux))'.dependencies]
reqwest = { version = "0.10.1", features = ["json"] }
reqwest = { version = "0.10.1", features = ["json", "socks"] }
[build-dependencies]
prost-build = "0.6.1"