Crates.io | rust-mqtt |
lib.rs | rust-mqtt |
version | 0.3.0 |
source | src |
created_at | 2022-04-28 12:30:19.283015 |
updated_at | 2024-01-30 09:12:03.978189 |
description | MQTT client for both embedded and non-embedded devices |
homepage | |
repository | https://github.com/obabec/rust-mqtt |
max_upload_size | |
id | 576767 |
size | 319,526 |
Rust-mqtt is native MQTT client for both std and no_std environments. Client library provides async API which can be used with various executors. Currently, supporting only MQTTv5 but everything is prepared to extend support also for MQTTv3 which is planned during year 2022.
For desktop usage I recommend using Tokio async executor and for embedded there is prepared wrapper for Drogue device framework in the Drogue-IoT project examples mqtt module.
Client supports following:
cargo build
Integration tests are written using tokio network tcp stack and can be find under tokio_net.
cargo test unit
cargo test integration
cargo test load
Rust-mqtt is guaranteed to compile on stable Rust 1.75 and up. It might compile with older versions but that may change in any new patch release.
This project could not be in state in which currently is without Ulf Lilleengen and rest of the community from Drogue IoT.
For any information contact me on email ond.babec@gmail.com