6 releases

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

#420 in Cryptography

Download history 6441/week @ 2022-06-12 7499/week @ 2022-06-19 6857/week @ 2022-06-26 7994/week @ 2022-07-03 6034/week @ 2022-07-10 4266/week @ 2022-07-17 3000/week @ 2022-07-24 5478/week @ 2022-07-31 5044/week @ 2022-08-07 7515/week @ 2022-08-14 4314/week @ 2022-08-21 6938/week @ 2022-08-28 5740/week @ 2022-09-04 6823/week @ 2022-09-11 9403/week @ 2022-09-18 8175/week @ 2022-09-25

30,252 downloads per month
Used in 8 crates (via tiberius)

MIT/Apache

73KB
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.5–3.5MB
~71K SLoC