#tls-api #tls #api-testing #sockets #plain #tls-stream #connect

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

#13 in #tls-api

Download history 535/week @ 2024-08-24 788/week @ 2024-08-31 501/week @ 2024-09-07 430/week @ 2024-09-14 680/week @ 2024-09-21 1003/week @ 2024-09-28 828/week @ 2024-10-05 889/week @ 2024-10-12 798/week @ 2024-10-19 700/week @ 2024-10-26 1070/week @ 2024-11-02 1303/week @ 2024-11-09 837/week @ 2024-11-16 518/week @ 2024-11-23 80/week @ 2024-11-30 121/week @ 2024-12-07

1,751 downloads per month
Used in 6 crates (via edgedb-tokio)

MIT/Apache

105KB
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–19MB
~372K SLoC