Skip to content

Commit

Permalink
fix(https/rustls-platform-verifier): pub api
Browse files Browse the repository at this point in the history
  • Loading branch information
xz-dev committed Aug 2, 2024
1 parent 87c6550 commit c2bf94d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ["rustls-platform-verifier", "rustls-platform-verifier/jni"]
webpki-roots = ["hyper-rustls/webpki-roots"]
native-tokio = ["hyper-rustls/native-tokio"]

Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit c2bf94d

Please sign in to comment.