Add a warning about TLS crates (#4788)

This commit is contained in:
Rushmore Mushambi 2024-09-17 11:32:27 +01:00 committed by GitHub
parent e5e4783e3f
commit dca8acfee2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,7 @@
/// TLS Configuration
///
/// WARNING: `native-tls` and `rustls` are not stable yet. As we may need to upgrade those dependencies
/// from time to time to keep up with their security fixes, this type is excluded from our stability guarantee.
#[cfg(any(feature = "native-tls", feature = "rustls"))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "native-tls", feature = "rustls"))))]
#[derive(Debug, Clone)]