Add openssl tls backend for all platforms

This commit is contained in:
bytedream 2023-07-20 13:46:09 +02:00
parent 4ec9a0d309
commit dc6bc0d951
5 changed files with 221 additions and 41 deletions

18
Cargo.lock generated
View file

@ -396,6 +396,7 @@ dependencies = [
"indicatif",
"lazy_static",
"log",
"native-tls 0.2.11 (git+https://github.com/crunchy-labs/rust-not-so-native-tls.git)",
"num_cpus",
"regex",
"reqwest",
@ -866,7 +867,7 @@ checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
dependencies = [
"bytes",
"hyper",
"native-tls",
"native-tls 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio",
"tokio-native-tls",
]
@ -1128,6 +1129,17 @@ dependencies = [
"tempfile",
]
[[package]]
name = "native-tls"
version = "0.2.11"
source = "git+https://github.com/crunchy-labs/rust-not-so-native-tls.git#bdedf02f48372efeccdf4323920c21bb1a044788"
dependencies = [
"log",
"openssl",
"openssl-probe",
"openssl-sys",
]
[[package]]
name = "nix"
version = "0.26.2"
@ -1405,7 +1417,7 @@ dependencies = [
"js-sys",
"log",
"mime",
"native-tls",
"native-tls 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"once_cell",
"percent-encoding",
"pin-project-lite",
@ -1853,7 +1865,7 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
dependencies = [
"native-tls",
"native-tls 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio",
]