Fix building xmpp with no-default-features

This commit is contained in:
moparisthebest 2024-01-03 20:01:05 -05:00
parent 019450ff4b
commit 54de8d9951
No known key found for this signature in database
GPG key ID: 88C93BFE27BC8229

View file

@ -35,7 +35,7 @@ pub type Error = tokio_xmpp::Error;
pub type Id = Option<String>;
pub type RoomNick = String;
#[cfg(test)]
#[cfg(all(test, any(feature = "starttls-rust", feature = "starttls-native")))]
mod tests {
use super::{BareJid, ClientBuilder, ClientFeature, ClientType, Event};
use std::str::FromStr;