Cargo Features

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

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

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

Only used when the cert-logging feature is enabled.

jni docsrs?

Enables jni

Only used during doc generation

paste ffi-testing?

Enables paste

Only used when ffi-testing feature is enabled

android_logger android ffi-testing?

Enables android_logger ^0.13