async-tls icon indicating copy to clipboard operation
async-tls copied to clipboard

Update rustls to version 0.23

Open j4r0u53k opened this issue 10 months ago • 0 comments

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.

j4r0u53k avatar Jan 23 '25 16:01 j4r0u53k