How to use native tls with tokio_tls feature?
xyaman opened this issue · 3 comments
xyaman commented
How to use native tls with tokio_tls feature?
sdroege commented
What's exactly the problem here? When enabling the tokio-tls
feature, TLS connections would be done via tokio-tls
, which uses native-tls
(i.e. SChannel on Windows, Secure Transport on macOS/iOS, OpenSSL elsewhere).
This should be moved from tokio-tls
to tokio-native-tls
on the next breaking release, but that should be basically the same.
xyaman commented
Sorry, I was thinking that tokio-tls uses openssl, because my program needed openssl, then I realized that was another crate. My bad
sdroege commented
Ok, no worries :)