mqtt-rs
MQTT protocol library for Rust (by zonyitoo)
mqtt-broker
A tokio-based MQTT v5 broker written in pure Rust [WIP] (by bschwind)
mqtt-rs | mqtt-broker | |
---|---|---|
2 | 2 | |
175 | 136 | |
- | - | |
2.6 | 3.8 | |
about 2 months ago | 11 months ago | |
Rust | Rust | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mqtt-rs
Posts with mentions or reviews of mqtt-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-05.
-
What MQTT crates for use in WASM are out there?
I saw options like https://github.com/00imvj00/mqttrs and https://github.com/zonyitoo/mqtt-rs - they are compiling for wasm, but for my understanding they are just packet decoders/encoders - so all state machines etc I should write myself. Maybe there are creates that are network agnostic, meaning I will feed it bytes, it will feed me bytes back and all I need to do is to send them?
-
OTA update using MQTT
I'm dabbling with the mqttrs crate for the client (https://github.com/zonyitoo/mqtt-rs) this provides rust native components to build a client or server but it's up to you to create the tcp connection and deal with tls if you want it.
mqtt-broker
Posts with mentions or reviews of mqtt-broker.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-30.
-
Announcing rumqttd v0.15.0 with MQTTv5 features like Topic Alias and Message Expiry
Not sure if I have many insights that the rumqttd team doesn't already know. My goals were a lot more scaled back in nature, I just wanted an easily-deployable binary that runs on a single machine, there isn't any clustering or things of that sort. Here's the current code. The main thing I'm wondering about is whether I got the architecture right for getting the best performance out of tokio. I have an ESP32-based project I originally wrote this for and I got it to the point where it works, and that's about where I stopped working hard on it, haha
-
OTA update using MQTT
I have some of an MQTT broker implemented, but it's not complete yet, and development is slow because it's just me working on it.
What are some alternatives?
When comparing mqtt-rs and mqtt-broker you can also consider the following projects:
rumqtt - The MQTT ecosystem in rust
mosquitto - Eclipse Mosquitto - An open source MQTT broker
telemq - Experimental MQTT broker
akasa - A high performance, low latency and high extendable MQTT server(broker) in Rust
unisub - A Pub/Sub library for Rust backed by Postgres
ic-event-hub - Event-based pub/sub for IC canisters
ntex-mqtt - MQTT Client/Server framework for v5 and v3.1.1 protocols
rustpad - Efficient and minimal collaborative code editor, self-hosted, no database required
tarpc - An RPC framework for Rust with a focus on ease of use.
sea-orm - 🐚 An async & dynamic ORM for Rust