mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add native-tls/openssl tls backend for linux
This commit is contained in:
parent
566422cb06
commit
4ec9a0d309
3 changed files with 207 additions and 1 deletions
|
|
@ -30,5 +30,11 @@ tempfile = "3.6"
|
|||
tokio = { version = "1.29", features = ["macros", "rt-multi-thread", "time"] }
|
||||
sys-locale = "0.3"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
reqwest = { version = "0.11", default-features = false, features = ["socks", "native-tls-alpn", "native-tls-vendored"] }
|
||||
|
||||
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
||||
reqwest = { version = "0.11", default-features = false, features = ["socks"] }
|
||||
|
||||
[build-dependencies]
|
||||
chrono = "0.4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue