6 releases

0.2.1 Jan 19, 2021
0.2.0 Jan 12, 2021
0.1.3 Jan 19, 2021

#1728 in Asynchronous

Download history 11473/week @ 2023-11-20 10509/week @ 2023-11-27 10523/week @ 2023-12-04 9805/week @ 2023-12-11 17983/week @ 2023-12-18 4909/week @ 2023-12-25 10619/week @ 2024-01-01 13827/week @ 2024-01-08 17573/week @ 2024-01-15 15465/week @ 2024-01-22 17875/week @ 2024-01-29 20972/week @ 2024-02-05 22162/week @ 2024-02-12 8149/week @ 2024-02-19 6955/week @ 2024-02-26 9254/week @ 2024-03-04

46,803 downloads per month
Used in 7 crates (via tiberius)

MIT/Apache

74KB
1.5K SLoC

opentls

Sync and async TLS streams using OpenSSL

About

Implementing TLS with OpenSSL either asynchronously or as a synchronous version. If looking for a good TLS implementation, it is highly recommended to use either native-tls for synchronous connections or async-native-tls. Use this crate only if you cannot rely on the libraries provided by the operating system, and have some special needs such as always linking to OpenSSL statically. In general, you probably should not use this crate.

The API is taken directly from the crates mentioned above, so opentls sync_io module should be a drop-in replacement to native-tls and async_io to async-native-tls accordingly. Big thanks for the authors Steven Fackler and dignifiedquire.

Installation for Rust

$ cargo add opentls

Security

If you have a security issue to report, please contact us at security@prisma.io

Dependencies

~2–5MB
~105K SLoC