build: apple tls-api-openssl dependency

This commit is contained in:
ardocrat 2024-05-08 22:19:33 +03:00
parent f01d6cc863
commit fd32c3fd86
2 changed files with 19 additions and 0 deletions

16
Cargo.lock generated
View file

@ -3806,6 +3806,7 @@ dependencies = [
"thiserror", "thiserror",
"tls-api", "tls-api",
"tls-api-native-tls", "tls-api-native-tls",
"tls-api-openssl",
"tokio 1.37.0", "tokio 1.37.0",
"tokio-util 0.7.10", "tokio-util 0.7.10",
"toml 0.8.12", "toml 0.8.12",
@ -8899,6 +8900,21 @@ dependencies = [
"tokio 1.37.0", "tokio 1.37.0",
] ]
[[package]]
name = "tls-api-openssl"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82155f245c99a3b652627f32abeacd4eae9e0fec996c1090df121e01379d28f3"
dependencies = [
"anyhow",
"openssl",
"openssl-sys",
"thiserror",
"tls-api",
"tls-api-test",
"tokio 1.37.0",
]
[[package]] [[package]]
name = "tls-api-test" name = "tls-api-test"
version = "0.9.0" version = "0.9.0"

View file

@ -82,6 +82,9 @@ tokio-util = { version = "0.7.8", features = ["codec"] }
[build-dependencies] [build-dependencies]
built = { version = "0.7.0", features = ["git2"]} built = { version = "0.7.0", features = ["git2"]}
[target.'cfg(target_vendor = "apple")'.dependencies]
tls-api-openssl = "0.9.0"
[target.'cfg(not(target_os = "android"))'.dependencies] [target.'cfg(not(target_os = "android"))'.dependencies]
env_logger = "0.10.0" env_logger = "0.10.0"
winit = { version = "0.29.15" } winit = { version = "0.29.15" }