#tls

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

#868 in Network programming

Download history 1365/week @ 2023-02-03 1330/week @ 2023-02-10 1354/week @ 2023-02-17 1050/week @ 2023-02-24 988/week @ 2023-03-03 1112/week @ 2023-03-10 852/week @ 2023-03-17 750/week @ 2023-03-24 839/week @ 2023-03-31 764/week @ 2023-04-07 949/week @ 2023-04-14 1040/week @ 2023-04-21 932/week @ 2023-04-28 967/week @ 2023-05-05 1176/week @ 2023-05-12 714/week @ 2023-05-19

3,878 downloads per month
Used in 2 crates

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

~7–16MB
~360K SLoC