6 releases

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

#1833 in Asynchronous

Download history 5808/week @ 2024-07-21 7555/week @ 2024-07-28 7110/week @ 2024-08-04 6513/week @ 2024-08-11 6611/week @ 2024-08-18 5705/week @ 2024-08-25 3362/week @ 2024-09-01 3474/week @ 2024-09-08 2624/week @ 2024-09-15 7129/week @ 2024-09-22 7816/week @ 2024-09-29 6690/week @ 2024-10-06 9220/week @ 2024-10-13 5874/week @ 2024-10-20 7596/week @ 2024-10-27 5277/week @ 2024-11-03

28,505 downloads per month
Used in 9 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

~1.8–9.5MB
~104K SLoC