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

tls-api-not-tls

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

5 releases (breaking)

0.9.0 Apr 28, 2022
0.8.0 Apr 28, 2022
0.7.0 Oct 26, 2021
0.6.0 Oct 24, 2021
0.5.0 Feb 21, 2021

#15 in #plain

Download history 73/week @ 2024-03-14 59/week @ 2024-03-21 143/week @ 2024-03-28 145/week @ 2024-04-04 71/week @ 2024-04-11 61/week @ 2024-04-18 106/week @ 2024-04-25 125/week @ 2024-05-02 54/week @ 2024-05-09 58/week @ 2024-05-16 47/week @ 2024-05-23 99/week @ 2024-05-30 93/week @ 2024-06-06 124/week @ 2024-06-13 35/week @ 2024-06-20 61/week @ 2024-06-27

319 downloads per month
Used in edgedb-client

MIT/Apache

105KB
2.5K SLoC

GitHub Workflow Status License crates.io

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

~11–27MB
~452K SLoC