Crate finmqtt_core

Crate finmqtt_core 

Expand description

Sans-io, no_std, no-alloc, zero-copy MQTT v5 protocol implementation.

Operates on byte slices only. No I/O, no heap, no async runtime. Packets borrow from the input buffer (zero-copy decode); encoding writes into a caller-provided &mut [u8].

§Features

The default build is allocation-free. Enabling alloc adds heap-backed conveniences (the growable GrowBuffer, owned *Buf types and MqttString, and with_capacity/take helpers) without changing the no-alloc paths.

Modules§

client
Client state machine.
codec
Framing helpers for turning a byte stream into Packets and back.
packet
Control packet types. Zero-copy decode, borrowed from the input buffer.
property
Property encoding, decoding, and iteration.
session
Session state storage.
topic
Validated topic names and topic filters.
wire
Wire-format primitives.