pub mod error;
pub mod traits;
#[cfg(all(feature = "websocket", not(target_arch = "wasm32")))]
pub mod websocket;
#[cfg(all(feature = "wasm-websocket", target_arch = "wasm32"))]
pub mod wasm_websocket;
#[cfg(all(feature = "tcp", not(target_arch = "wasm32")))]
pub mod tcp;
#[cfg(all(feature = "udp", not(target_arch = "wasm32")))]
pub mod udp;
#[cfg(all(feature = "quic", not(target_arch = "wasm32")))]
pub mod quic;
#[cfg(all(feature = "serial", not(target_arch = "wasm32")))]
pub mod serial;
#[cfg(all(feature = "ble", not(target_arch = "wasm32")))]
pub mod ble;
#[cfg(feature = "webrtc")]
pub mod webrtc;
pub use error::{Result, TransportError};
pub use traits::{Transport, TransportEvent, TransportReceiver, TransportSender, TransportServer};
#[cfg(all(feature = "websocket", not(target_arch = "wasm32")))]
pub use websocket::{WebSocketConfig, WebSocketServer, WebSocketTransport};
#[cfg(all(feature = "wasm-websocket", target_arch = "wasm32"))]
pub use wasm_websocket::{WasmWebSocketConfig, WasmWebSocketTransport};
#[cfg(all(feature = "tcp", not(target_arch = "wasm32")))]
pub use tcp::{TcpConfig, TcpServer, TcpTransport};
#[cfg(all(feature = "udp", not(target_arch = "wasm32")))]
pub use udp::{UdpConfig, UdpTransport};
#[cfg(all(feature = "ble", not(target_arch = "wasm32")))]
pub use ble::{BleConfig, BleTransport};
#[cfg(feature = "webrtc")]
pub use webrtc::{WebRtcConfig, WebRtcTransport};
#[cfg(all(feature = "quic", not(target_arch = "wasm32")))]
pub use quic::{QuicConfig, QuicConnection, QuicTransport};
#[cfg(all(feature = "serial", not(target_arch = "wasm32")))]
pub use serial::{SerialConfig, SerialTransport};