#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

#1862 in Network programming

Download history 146/week @ 2024-09-23 188/week @ 2024-09-30 16/week @ 2024-10-07 15/week @ 2024-10-14

365 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
~153K SLoC