#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

#1280 in Encoding

Download history 610/week @ 2024-11-17 1151/week @ 2024-11-24 1380/week @ 2024-12-01 1207/week @ 2024-12-08 856/week @ 2024-12-15 40/week @ 2024-12-22 5/week @ 2024-12-29 138/week @ 2025-01-05 193/week @ 2025-01-12 116/week @ 2025-01-19 236/week @ 2025-01-26 267/week @ 2025-02-02 311/week @ 2025-02-09 258/week @ 2025-02-16 288/week @ 2025-02-23 160/week @ 2025-03-02

1,022 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.7–4MB
~85K SLoC