Hey All. I’m working on the Paho MQTT messaging library. The initial Rust version does not have Futures or Tokio support, but adding that support seems like the next logical step. The library wraps the Paho C lib, which is a fairly classic asynchronous C library that uses callbacks to signal when an operation has completed or failed.
I’m just getting up to speed on Futures. Can anyone point me to some tutorials or existing projects that show how to do this type of thing (wrap async callbacks) using the best current practices. I have found a few projects but am not too sure about which are good or bad… or completely out of date.