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

tls-api-not-tls-2

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

1 unstable release

0.11.0 May 8, 2024

#1522 in Network programming

Download history 124/week @ 2024-05-03 49/week @ 2024-05-10 29/week @ 2024-05-17

202 downloads per month
Used in 3 crates (via edgedb-tokio)

MIT/Apache

110KB
2.5K SLoC

tls-api-not-tls-2

This is a fork of tls-api-not-tls with updated dependencies.

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

~8–20MB
~369K SLoC