Expand description

This package contains bindings for using rustls via a C API. If you’re looking at this on docs.rs, you may want the rustls docs instead.

Even though this is a C API, it is published on crates.io so other crates that wrap a different C API (like curl) can depend on it.

You may also want to read the rustls-ffi README.

Modules

Structs

A return value for a function that may return either success (0) or a non-zero value representing an error. The values should match socket error numbers for your operating system - for example, the integers for ETIMEDOUT, EAGAIN, or similar.

Enums

Functions

Returns a static string containing the rustls-ffi version as well as the rustls version. The string is alive for the lifetime of the program and does not need to be freed.