chore: prioritize rustls-backend while it is not supported (non-default)

This commit is contained in:
Jun Kurihara 2023-12-09 00:41:32 +09:00
commit 6030bebac5
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
2 changed files with 4 additions and 1 deletions

View file

@ -95,7 +95,7 @@ Please enable native-tls-backend or rustls-backend feature to enable TLS support
}
}
#[cfg(feature = "native-tls-backend")]
#[cfg(all(feature = "native-tls-backend", not(feature = "rustls-backend")))]
/// Build forwarder with hyper-tls (native-tls)
impl<B1> Forwarder<hyper_tls::HttpsConnector<HttpConnector>, B1>
where