6 releases

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

#1607 in Asynchronous

Download history 15020/week @ 2024-03-14 17644/week @ 2024-03-21 10133/week @ 2024-03-28 17823/week @ 2024-04-04 7881/week @ 2024-04-11 11305/week @ 2024-04-18 15098/week @ 2024-04-25 11825/week @ 2024-05-02 6909/week @ 2024-05-09 5261/week @ 2024-05-16 5791/week @ 2024-05-23 7056/week @ 2024-05-30 4662/week @ 2024-06-06 5919/week @ 2024-06-13 5134/week @ 2024-06-20 2718/week @ 2024-06-27

19,375 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–4.5MB
~102K SLoC