#plain #tls-api #tls #tls-stream #sockets

tls-api-not-tls

TLS API implementation which returns plain sockets. This is NOT TLS implementation.

5 releases (breaking)

0.9.0 Apr 28, 2022
0.8.0 Apr 28, 2022
0.7.0 Oct 26, 2021
0.6.0 Oct 24, 2021
0.5.0 Feb 21, 2021

#12 in #tls-api

21 downloads per month
Used in edgedb-client

MIT/Apache

105KB
2.5K SLoC

GitHub Workflow Status License crates.io

tls-api-not-tls

Implementation which returns the (wrapped) socket in connect and accept operations. No TLS.

Might be useful in writing tests or something.


lib.rs:

Fake implementation of TLS API: returned streams are not TLS streams, but wrapped plain socket streams.

Can be useful for tests or to measure the overhead of TLS.

Use at your own risk.

Dependencies

~11–23MB
~441K SLoC