#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

#986 in Network programming

Download history 6/week @ 2024-10-25 8/week @ 2024-11-01 2/week @ 2024-11-15 792/week @ 2024-11-22 1175/week @ 2024-11-29 843/week @ 2024-12-06 895/week @ 2024-12-13 605/week @ 2024-12-20 466/week @ 2024-12-27 498/week @ 2025-01-03 762/week @ 2025-01-10 1233/week @ 2025-01-17 1189/week @ 2025-01-24 1281/week @ 2025-01-31 1185/week @ 2025-02-07

5,083 downloads per month
Used in 2 crates

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
~182K SLoC