Component is now behind insecure-tcp feature flag

This commit is contained in:
xmppftw xmppftw 2024-08-10 17:39:55 +02:00
commit 9f4af1625d
4 changed files with 11 additions and 19 deletions

View file

@ -53,7 +53,10 @@ pub mod connect;
pub mod proto;
pub use client::async_client::Client;
#[cfg(feature = "insecure-tcp")]
mod component;
#[cfg(feature = "insecure-tcp")]
pub use crate::component::Component;
/// Detailed error types
pub mod error;