Crate mqtt_async_client[−][src]
An MQTT 3.1.1 client written in Rust.
For example usage see the command-line test app at
examples/mqttc.rs
, and integration tests at tests/*.rs
.
This crate uses the log crate. To enable extra, potentially sensitive logging (including passwords) enable the "unsafe-logging" Cargo feature. With "unsafe-logging" enabled at the "trace" log level every packet is logged.
The "tls" feature is enabled by default and allows connections
over TLS using rustls.
If TLS is not required you can opt out by specifying
default-features = false
.
E.g. mqtt-async-client = { version = "0.1", default-features = false }
Modules
client | An MQTT client and supporting types. |
util | Some useful types. |
Enums
Error | Errors returned by the library. |
Type Definitions
Result | Fallible result values returned by the library. |