MQTT Typed Client Core
Core functionality for type-safe async MQTT client with automatic topic routing.
This crate contains the fundamental components:
- MQTT client implementation with async/await support
- Topic pattern matching and wildcard routing
- Message serialization abstraction
- Connection management and error handling
Usage
This crate is typically used through the main mqtt-typed-client crate which provides a more ergonomic API with procedural macros.
For direct usage:
use ;
let = connect.await?;
See the main mqtt-typed-client crate for complete examples and documentation.
Features
bincode-serializer- Bincode message serialization (default)json- JSON message serialization (default)messagepack- MessagePack serializationcbor- CBOR serializationpostcard- Postcard serializationprotobuf- Protocol Buffers serializationron- RON (Rusty Object Notation) serializationflexbuffers- FlatBuffers FlexBuffers serialization
License
This project is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.