//! 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`].
pub
pub