From dca8acfee257159577826187039aedc7ea8b58ae Mon Sep 17 00:00:00 2001 From: Rushmore Mushambi Date: Tue, 17 Sep 2024 11:32:27 +0100 Subject: [PATCH] Add a warning about TLS crates (#4788) --- sdk/src/api/opt/tls.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/src/api/opt/tls.rs b/sdk/src/api/opt/tls.rs index ca3f4a9e..e6e35c73 100644 --- a/sdk/src/api/opt/tls.rs +++ b/sdk/src/api/opt/tls.rs @@ -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)]