#topic #payload #mqtt #json #traits #helps #mqtt-item

mqtt_macro

MqttItem trait, that helps with defining topics and json payloads for MQTT broker usage

1 unstable release

0.1.0 Feb 23, 2023

#1259 in Encoding

Download history 684/week @ 2024-04-06 634/week @ 2024-04-13 1129/week @ 2024-04-20 1024/week @ 2024-04-27 375/week @ 2024-05-04 475/week @ 2024-05-11 923/week @ 2024-05-18 834/week @ 2024-05-25 336/week @ 2024-06-01 583/week @ 2024-06-08 539/week @ 2024-06-15 564/week @ 2024-06-22 211/week @ 2024-06-29 7/week @ 2024-07-06 58/week @ 2024-07-13 225/week @ 2024-07-20

549 downloads per month

MIT license

12KB
286 lines

A crate for easily transforming structs and (simple) enums into MQTT items with a topic and payload.

Dependencies

~2.6–3.5MB
~72K SLoC