#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

#1124 in Encoding

Download history 21/week @ 2023-12-11 113/week @ 2023-12-18 12/week @ 2023-12-25 55/week @ 2024-01-01 229/week @ 2024-01-08 177/week @ 2024-01-15 111/week @ 2024-01-22 292/week @ 2024-01-29 515/week @ 2024-02-05 358/week @ 2024-02-12 674/week @ 2024-02-19 632/week @ 2024-02-26 498/week @ 2024-03-04 782/week @ 2024-03-11 935/week @ 2024-03-18 682/week @ 2024-03-25

2,901 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

~4MB
~89K SLoC