Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
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.
For the server I'm just using mosquito (https://mosquitto.org/) since I don't see a ton of benefit in creating the server portion myself.
I'm using a very similar approach to this, substituting https://github.com/bytebeamio/rumqtt/tree/master/rumqttc for the client library.
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.
Related posts
- MQTT and sensors
- Beginner IoT project: LED Web trigger
- Synchronize 25 ESP8266 to start playback of an audio file at the same time
- What MQTT crates for use in WASM are out there?
- Announcing rumqttd v0.18.0: with improved performance and reduced binary size due to enhanced release profile, while featuring retained and will messages, will delay interval for MQTTv5 and other cool changes!