Implementing a C library's event loop api to use it with tokio

I want to use avahi's C library together with tokio.

The library is driven by this event loop, and I was wondering if it would be possible to run this event loop on tokio.

The api I need could be in tokio::io::unix, but I'm not sure if it's enough to implement it correctly. And even if there's a way, I'm not sure how to start. Any ideas? Do you think it's possible at all? Are you aware of similar implementations I could look at? Thanks.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.