tokio-xmpp: Remove warning when rustls-any-backend feature isn't enabled
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
7d47173318
commit
e526b49636
2 changed files with 2 additions and 0 deletions
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue