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

tls-api-not-tls

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

7 releases (breaking)

0.12.1 Nov 25, 2024
0.12.0 Nov 25, 2024
0.9.0 Apr 28, 2022
0.8.0 Apr 28, 2022
0.5.0 Feb 21, 2021

#1226 in Network programming

Download history 15/week @ 2024-09-01 6/week @ 2024-09-08 7/week @ 2024-09-15 43/week @ 2024-09-22 39/week @ 2024-09-29 3/week @ 2024-10-06 2/week @ 2024-10-13 4/week @ 2024-10-20 11/week @ 2024-10-27 3/week @ 2024-11-03 4/week @ 2024-11-17 1053/week @ 2024-11-24 1129/week @ 2024-12-01 794/week @ 2024-12-08 874/week @ 2024-12-15

3,851 downloads per month
Used in edgedb-client

MIT/Apache

77KB
1.5K SLoC

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

~2–13MB
~174K SLoC