tokio-xmpp: Remove warning when rustls-any-backend feature isn't enabled

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2025-10-21 23:20:28 +02:00
commit e526b49636
2 changed files with 2 additions and 0 deletions

View file

@ -50,6 +50,7 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
- Update rxml dependency to 0.13.
- Remove warnings for elided lifetimes (rustc 1.90)
- Use thiserror for the error types. (!616)
- Remove warning when 'rustls-any-backend' feature isn't enabled
Version 4.0.0:
2024-07-26 Maxime “pep” Buquet <pep@bouah.net>

View file

@ -7,6 +7,7 @@
//! Common TLS functionality shared between direct_tls and starttls modules
use core::{error::Error as StdError, fmt};
#[cfg(all(feature = "rustls-any-backend", not(feature = "native-tls")))]
use std::os::fd::AsRawFd;
use tokio::io::{AsyncRead, AsyncWrite};