mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Fix building xmpp with no-default-features
This commit is contained in:
parent
019450ff4b
commit
54de8d9951
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue