Skip to content

Commit

Permalink
fix features
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-oracle committed Sep 4, 2024
1 parent a228d44 commit 52d41ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ impl Default for Client {
))]
let connector = hyper_tls::HttpsConnector::new_with_connector(connector);

#[cfg(feature = "rustls-tls")]
#[cfg(all(feature = "rustls-tls", not(feature = "rustls-tls-aws")))]
let connector =
prepare_hyper_rustls_client(connector, rustls::crypto::ring::default_provider());
#[cfg(feature = "rustls-tls-aws")]
#[cfg(all(feature = "rustls-tls-aws", not(feature = "rustls-tls")))]
let connector =
prepare_hyper_rustls_client(connector, rustls::crypto::aws_lc_rs::default_provider());

Expand Down

0 comments on commit 52d41ee

Please sign in to comment.