Skip to main content

symqtt_transport/
lib.rs

1//! TCP and TLS transports for [`symqtt`].
2//!
3//! Implements [`Transport`](symqtt::transport::Transport). Enable `tcp` (default)
4//! and `tls` / `tls-rustls` / `tls-rustls-native-certs` as needed.
5
6#![cfg_attr(docsrs, feature(doc_cfg))]
7
8#[cfg(feature = "tcp")]
9pub mod tcp;
10
11#[cfg(feature = "__rustls")]
12pub mod tls;