mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
add socks support
This commit is contained in:
parent
8f7ef6ed2c
commit
11fdd96a44
1 changed files with 2 additions and 2 deletions
|
@ -54,10 +54,10 @@ version = "0.22"
|
||||||
features = ["trace", "functions", "collation", "bundled"]
|
features = ["trace", "functions", "collation", "bundled"]
|
||||||
|
|
||||||
[target.'cfg(linux)'.dependencies]
|
[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]
|
[target.'cfg(not(linux))'.dependencies]
|
||||||
reqwest = { version = "0.10.1", features = ["json"] }
|
reqwest = { version = "0.10.1", features = ["json", "socks"] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.6.1"
|
prost-build = "0.6.1"
|
||||||
|
|
Loading…
Reference in a new issue