#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

#1241 in Network programming

Download history 17/week @ 2024-08-26 11/week @ 2024-09-02 6/week @ 2024-09-09 7/week @ 2024-09-16 47/week @ 2024-09-23 37/week @ 2024-09-30 2/week @ 2024-10-14 5/week @ 2024-10-21 11/week @ 2024-10-28 2/week @ 2024-11-04 5/week @ 2024-11-18 1137/week @ 2024-11-25 1125/week @ 2024-12-02 795/week @ 2024-12-09

3,062 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