0.3 removed tokio::io::Registration, breaking dbus-tokio crate #3040
Labels
A-tokio
Area: The main tokio crate
C-question
User questions that are neither feature requests nor bug reports
M-io
Module: tokio/io
Hi,
It looks like all possibilities to add a custom fd have been removed with Tokio 0.3, or possibly it has been moved to somewhere I can't find it. In Tokio 0.2 we used
tokio::io::Registration
for this purpose.This is a fundamental feature for the
dbus-tokio
crate, so at this point we can't upgrade to 0.3. The code is also something that has been tested and patched by several community members as we had some hard time removing race conditions etc, so if the logic has been significantly changed, we need to start that process over from scratch.The somewhat hairy code is here in case you want a look at it: https://github.com/diwic/dbus-rs/blob/master/dbus-tokio/src/connection.rs
The text was updated successfully, but these errors were encountered: