#mqtt #channel #iot #rpc #service

mqtt-channel

This crates provide a high-level API MQTT subscriptions, based on channels

2 unstable releases

0.2.0 Oct 2, 2024
0.1.0 Sep 25, 2024

#2057 in Network programming

Download history 97/week @ 2024-09-19 147/week @ 2024-09-26 99/week @ 2024-10-03 17/week @ 2024-10-10 6/week @ 2024-10-17

211 downloads per month
Used in 3 crates

MIT license

22KB
493 lines

stable pipeline dev/1 pipeline docs crates.io

mqtt-channel

This crate provides a convenient way to share a MQTT connection to a broker and subscribe to MQTT topics by providing broadcast channels. It uses the rumqttc library to connect to the MQTT broker. And it uses the async_broadcast crate to provide channels.

Note: this crate is feature complete, and few changes are expected.


lib.rs:

Provide channel-based subscription to a MQTT broker.

Dependencies

~4–13MB
~151K SLoC