#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

#1210 in Encoding

Download history 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 1351/week @ 2024-11-08 564/week @ 2024-11-15 1113/week @ 2024-11-22 1490/week @ 2024-11-29 1313/week @ 2024-12-06 659/week @ 2024-12-13 260/week @ 2024-12-20 2/week @ 2024-12-27

2,322 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
~74K SLoC