#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

#11 in #plain

Download history 579/week @ 2023-12-18 546/week @ 2023-12-25 520/week @ 2024-01-01 675/week @ 2024-01-08 542/week @ 2024-01-15 527/week @ 2024-01-22 705/week @ 2024-01-29 1028/week @ 2024-02-05 851/week @ 2024-02-12 179/week @ 2024-02-19 122/week @ 2024-02-26 125/week @ 2024-03-04 76/week @ 2024-03-11 66/week @ 2024-03-18 53/week @ 2024-03-25 272/week @ 2024-04-01

487 downloads per month
Used in 3 crates (2 directly)

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–25MB
~445K SLoC