#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

#2060 in Network programming


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–14MB
~156K SLoC