Cargo Features
[dependencies]
rustls-ffi = { version = "0.14.0", default-features = false, features = ["no_log_capture", "read_buf", "capi", "ring", "aws-lc-rs"] }
- default = aws-lc-rs
-
The
aws-lc-rs
feature is set by default wheneverrustls-ffi
is added without
somewhere in the dependency tree.default-features = false - 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
-
Keep in sync with RUSTLS_CRATE_VERSION in build.rs
- capi
- ring
-
Enables ring of rustls and rustls-webpki
Affects
crypto_provider::rustls_ring_crypto_provider
… - aws-lc-rs default
-
Enables aws-lc-rs of rustls, aws_lc_rs of rustls-webpki
Affects
crypto_provider::rustls_aws_lc_rs_crypto_provider
…