mqtt-broker
mqtt-broker is a work-in-progress MQTT v5 broker written in Rust using the tokio async runtime. The project aims to fully adhere to the MQTT v5 specification while remaining easily deployable as a single binary with reasonable performance and memory usage on a single node. It was originally created as a simple open-source broker for IoT products, prioritizing the ability for users to run their own broker with minimal effort. The core focus is implementing the MQTT V5 spec, including the WebSocket transport. Advanced features like broker clustering and additional transport layers are deferred until core V5 compliance is achieved. The project is not yet fully spec compliant. Built using Rust 1.39 or later with cargo, it supports standard development workflows including building, testing with cargo test, formatting with nightly rustfmt, linting with clippy, and fuzzing for protocol decoders and topic parsing. It is intended as a lightweight, self-hostable MQTT broker, with alternatives like rumqtt recommended fo