#channel #iot #mqtt #rpc #rpc-service #service

mqtt-channel

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

3 unstable releases

0.2.1 Mar 7, 2025
0.2.0 Oct 2, 2024
0.1.0 Sep 25, 2024

#1913 in Network programming

Download history 9/week @ 2024-12-08 1/week @ 2024-12-15 4/week @ 2025-02-02 1/week @ 2025-02-09 95/week @ 2025-03-02 32/week @ 2025-03-09 4/week @ 2025-03-16

131 downloads per month
Used in 3 crates

MIT license

23KB
504 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

~6–16MB
~192K SLoC