Skip to content

Commit

Permalink
Add feature flag rustls-tls for custom ca feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-CH-Leung committed Nov 10, 2023
1 parent 2cbb3e3 commit e8a4695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl Ctx {
fn http_client(read_timeout: Option<Duration>) -> Result<ureq::Agent, Error> {
let mut builder = ureq::builder();

#[cfg(feature = "native-tls")]
#[cfg(any(feature = "native-tls", feature = "rustls-tls"))]
'custom: {
// "common"? env vars that people who use custom certs use? I guess
// this is easy to expand if it's not the case. /shrug
Expand Down

0 comments on commit e8a4695

Please sign in to comment.