Cargo Features

Rustls-FFI has no features set by default.

[dependencies]
rustls-ffi = { version = "0.13.0", features = ["no_log_capture", "read_buf", "capi"] }
no_log_capture

Enable this feature when building as Rust dependency. It inhibits the default behavior of capturing the global logger, which only works when built using the Makefile, which passes -C metadata=rustls-ffi to avoid interfering with copies of the global logger brought in by other Rust libraries.

read_buf

Enables read_buf of rustls

Keep in sync with RUSTLS_CRATE_VERSION in build.rs

capi