Crates.io | mqtt_packet_3_5 |
lib.rs | mqtt_packet_3_5 |
version | 0.2.2 |
source | src |
created_at | 2022-01-28 22:50:30.194121 |
updated_at | 2022-02-03 22:09:11.125172 |
description | Parse/Encode MQTT5 and MQTT3 messages |
homepage | |
repository | https://github.com/SquattingSocrates/mqtt_packet |
max_upload_size | |
id | 523326 |
size | 206,657 |
This is a library designed to be used for creating mqtt clients or mqtt brokers. As many things as were reasonable are encoded in the type system, e.g.
Messages of these versions should be decodable/encodable with this library.
Encode | Decode | Packet Type |
---|---|---|
✅ | ✅ | Connect |
✅ | ✅ | Connack |
✅ | ✅ | Publish |
✅ | ✅ | Puback |
✅ | ✅ | Pubrec |
✅ | ✅ | Pubrel |
✅ | ✅ | Pubcomp |
✅ | ✅ | Subscribe |
✅ | ✅ | Suback |
✅ | ✅ | Unsubscribe |
✅ | ✅ | Unsuback |
✅ | ✅ | Pingreq |
✅ | ✅ | Pingresp |
✅ | ✅ | Disconnect |
✅ | ✅ | Auth |