Skip to content

Commit 481b979

Browse files
committed
native_tls: switch to using openssl on all platforms
Since we are going to use some openssl-specific features, we will have to remove platform-specific implementations, leaving only openssl.
1 parent 5db1b77 commit 481b979

File tree

4 files changed

+2
-1206
lines changed

4 files changed

+2
-1206
lines changed

Cargo.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,8 @@ rustdoc-args = ["--cfg", "docsrs"]
1414

1515
[features]
1616
vendored = ["openssl/vendored"]
17-
alpn = ["security-framework/alpn"]
1817

19-
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
20-
security-framework = "2.0.0"
21-
security-framework-sys = "2.0.0"
22-
libc = "0.2"
23-
tempfile = "3.1.0"
24-
25-
[target.'cfg(target_os = "windows")'.dependencies]
26-
schannel = "0.1.17"
27-
28-
[target.'cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))'.dependencies]
18+
[dependencies]
2919
log = "0.4.5"
3020
openssl = "0.10.29"
3121
openssl-sys = "0.9.55"

0 commit comments

Comments
 (0)