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 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?
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?
Other crates like https://crates.io/crates/paho-mqtt and https://github.com/bytebeamio/rumqtt are not available for browsers and do not compile to wasm.
Related posts
- What's your go to MQTT library?
- 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!
- Announcing rumqttd v0.17.0 with Shared Subscriptions and Subscription IDs adding up to better MQTTv5 support!
- rumqttd now supports QoS2 and MQTT over websockets
- Rumqttd now supports MQTTv5 topic alias and message expiry