#topic #payload #mqtt #json #traits #broker #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

#1218 in Encoding

Download history 519/week @ 2024-07-26 1078/week @ 2024-08-02 1205/week @ 2024-08-09 1510/week @ 2024-08-16 1115/week @ 2024-08-23 1180/week @ 2024-08-30 864/week @ 2024-09-06 747/week @ 2024-09-13 1241/week @ 2024-09-20 964/week @ 2024-09-27 1032/week @ 2024-10-04 136/week @ 2024-10-11 816/week @ 2024-10-18 790/week @ 2024-10-25 1407/week @ 2024-11-01 1367/week @ 2024-11-08

4,427 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

~4.5MB
~97K SLoC