Cargo Features
rustlsPlatformVerifier has no features set by default.
[dependencies]
rustls-platform-verifier = { version = "0.6.2", features = ["ffi-testing", "dbg", "cert-logging", "docsrs"] }
- ffi-testing = android_logger
-
Enables a C interface to use for testing where
cargocan'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.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::debugbase64-encoded logging of all end-entity certificates processed by the platform's verifier. - docsrs = jni, once_cell
-
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-loggingfeature is enabled. - jni docsrs?
-
Enables jni
Only used during doc generation
- once_cell docsrs?
-
Enables once_cell
Only used during doc generation
- android_logger android ffi-testing?