mqtt-typed-client-core

Crates.iomqtt-typed-client-core
lib.rsmqtt-typed-client-core
version0.1.0
created_at2025-07-27 14:08:03.340174+00
updated_at2025-07-27 14:08:03.340174+00
descriptionType-safe async MQTT client core with automatic topic routing
homepage
repositoryhttps://github.com/holovskyi/mqtt-typed-client
max_upload_size
id1770112
size213,894
Artem Holovskyi (holovskyi)

documentation

README

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 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.

Features

  • bincode-serializer - Bincode message serialization (default)
  • json - JSON message serialization (default)
  • messagepack - MessagePack serialization
  • cbor - CBOR serialization
  • postcard - Postcard serialization
  • protobuf - Protocol Buffers serialization
  • ron - RON (Rusty Object Notation) serialization
  • flexbuffers - FlatBuffers FlexBuffers serialization

License

This project is licensed under either of

at your option.

Commit count: 0

cargo fmt