diff --git a/Cargo.toml b/Cargo.toml index 8c3c660..859ace3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [features] default = ["rustls-platform-verifier"] rustls-platform-verifier = ["hyper-rustls/rustls-platform-verifier", "dep:rustls-platform-verifier"] +rustls-platform-verifier-android = ["hyper-rustls/rustls-platform-verifier", "dep:rustls-platform-verifier", "rustls-platform-verifier/jni"] webpki-roots = ["hyper-rustls/webpki-roots"] native-tokio = ["hyper-rustls/native-tokio"] diff --git a/src/lib.rs b/src/lib.rs index dea9eba..61ff5f7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,3 +6,7 @@ mod locale; pub mod rpc; mod utils; mod websdk; + +// rustls-platform-verifier +#[cfg(feature = "rustls-platform-verifier-android")] +pub use rustls_platform_verifier;