Cargo Features

rustls-platform-verifier has no features set by default.

[dependencies]
rustls-platform-verifier = { version = "0.3.1", features = ["ffi-testing", "dbg", "cert-logging", "docsrs"] }
ffi-testing = android_logger

Enables a C interface to use for testing where cargo can't be used. This feature is not stable, nor is the interface exported when it is enabled. Do not rely on this or use it in production.

Enables ring of rustls

Affects tests::ffi

dbg

Enables APIs that expose lower-level verifier types for debugging purposes.

Affects rustls-platform-verifier::verifier_for_dbg

cert-logging = base64

Enables log::debug base64-encoded logging of all end-entity certificates processed by the platform's verifier.

docsrs = jni

Used for nicely documenting the Android-specific APIs. This feature is not stable.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

base64 cert-logging?

Enables base64 ^0.21

Only used when the cert-logging feature is enabled.

jni docsrs?

Enables jni ^0.19

Only used during doc generation

android_logger android ffi-testing?