symqtt 0.1.1

Synchronous MQTT 3.1.1/5.0 client — blocking API, no async runtime
Documentation
//! Synchronous MQTT 3.1.1 / 5.0 client — blocking API, no async runtime.
//!
//! `Client` is `Send + Sync`: it uniquely owns one connection.
//! Writes run on the caller thread; a read thread and an optional keepalive
//! thread own the rest of the connection. Dropping a still-connected `Client`
//! sends DISCONNECT.
//!
//! # Crates
//!
//! - [`symqtt`](crate) — this crate: connect, publish, subscribe, session
//! - `symqtt-codec` — packet encode/decode
//! - `symqtt-transport` — TCP / TLS
//!
//! # Example
//!
//! See [`v3::Client::connect`] and [`v5::Client::connect`].

#![cfg_attr(docsrs, feature(doc_cfg))]

pub(crate) mod pinger;
pub(crate) mod time;

pub mod transport;
pub mod v3;
pub mod v5;