async-tls
async-tls copied to clipboard
Update rustls to version 0.23
Updates the code to compile with newer versions of rustls and rustls_pemfile.
Replaces lazy_static with std::sync::LazyLock, because lazy_static could not handle async move construct for unknown reason, and it's recommended to replace it anyways.
Fixes some warnings generated by cargo clippy, mostly lifetime elisions. I didn't fix the warnings regarding the large size difference between variants of enums, because I wasn't sure about the correct fix. The Poll:Ok would probably still return the large data instead of the Box anyways.