#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

#1153 in Encoding

Download history 245/week @ 2024-01-10 204/week @ 2024-01-17 158/week @ 2024-01-24 405/week @ 2024-01-31 436/week @ 2024-02-07 419/week @ 2024-02-14 917/week @ 2024-02-21 284/week @ 2024-02-28 611/week @ 2024-03-06 957/week @ 2024-03-13 1027/week @ 2024-03-20 469/week @ 2024-03-27 887/week @ 2024-04-03 763/week @ 2024-04-10 662/week @ 2024-04-17 1575/week @ 2024-04-24

4,172 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
~90K SLoC