An MQTT 5.0 and 3.1.1 client for Zig, with the protocol and the transport in separate modules so that a program driving its own event loop carries neither the reader nor the writer.
| Module | Depends on | |
|---|---|---|
mqtt | nothing | The wire format and the session state machine. No I/O of any kind: bytes in, bytes out, and the caller says what time it is. |
mqtt_client | mqtt | Carries those bytes along a std.Io.Reader and a std.Io.Writer, and reconnects when one breaks.
|