Guides
ruststream-rust-mqtt is the MQTT 5 broker of RustStream, for the embassy and compio runtimes.
The crate has two variants.
The device variant needs no heap: the board declares the broker's memory as a static, and a delivery borrows its payload from a receive buffer of it.
The heap variant (feature alloc, implied by compio) runs over the rust-mqtt client and fits a compio host, or a device that has a heap.
Start with the variant you build for: getting started on a device or getting started on a compio host. Testing a device service shows how to run either on the host before it reaches a board.