diff --git a/src/transport/smtp/client/tls.rs b/src/transport/smtp/client/tls.rs index 59037b1..cbf0b69 100644 --- a/src/transport/smtp/client/tls.rs +++ b/src/transport/smtp/client/tls.rs @@ -197,7 +197,7 @@ impl TlsParametersBuilder { /// including those from other sites, are trusted. /// /// This method introduces significant vulnerabilities to man-in-the-middle attacks. - #[cfg(any(feature = "native-tls", feature = "boring-tls"))] + #[cfg(any(feature = "native-tls", feature = "rustls-tls", feature = "boring-tls"))] #[cfg_attr( docsrs, doc(cfg(any(feature = "native-tls", feature = "rustls-tls", feature = "boring-tls")))