#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

#3 in #tls-api

Download history 164/week @ 2024-05-08 30/week @ 2024-05-15 73/week @ 2024-05-22 79/week @ 2024-05-29 76/week @ 2024-06-05 215/week @ 2024-06-12 112/week @ 2024-06-19 52/week @ 2024-06-26

459 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–23MB
~382K SLoC