Crates.io | mqtt-typed-client-core |
lib.rs | mqtt-typed-client-core |
version | 0.1.0 |
created_at | 2025-07-27 14:08:03.340174+00 |
updated_at | 2025-07-27 14:08:03.340174+00 |
description | Type-safe async MQTT client core with automatic topic routing |
homepage | |
repository | https://github.com/holovskyi/mqtt-typed-client |
max_upload_size | |
id | 1770112 |
size | 213,894 |
Core functionality for type-safe async MQTT client with automatic topic routing.
This crate contains the fundamental components:
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 mqtt_typed_client_core::{MqttClient, BincodeSerializer};
let (client, connection) = MqttClient::<BincodeSerializer>::connect("mqtt://broker.example.com").await?;
See the main mqtt-typed-client crate for complete examples and documentation.
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 serializationThis project is licensed under either of
at your option.