[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Paho MQTT Rust Language Library

Hey All,

I've started uploading some code for a new Paho Rust Language library at:
ÂÂÂ https://github.com/eclipse/paho.mqtt.rust

The code is initially going into an "incubator" branch to indicate that it is highly unstable and will be changing quickly over the next few weeks. It's a wrapper around the Paho C library, and the first version will target the Paho 1.3 release for MQTT v3.1 and 3.1.1.

It's very early days, but the library can connect (via TCP or SSL/TLS), publish, subscribe, and disconnect cleanly using an asynchronous interface. I'm currently developing on Linux x86_64, but other platforms that are supported by Rust and Paho C should be relatively straightforward. At this point, the library sorely lacks error handling, documentation, and stability.

I'm hoping to stabilize the API by the end of the year and release in early 2018.

I'm a relative newcomer to Rust (as, apparently, are 97% or Rust users), so am hoping to get advice and guidance on the API from others having more experience with the language. But I also hope to keep it familiar to existing Paho users.

So far, I'm fairly impressed with Rust. It looks like an interesting language for some MQTT programming. Fast and safe.

Frank Pagliughi