Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove or replace deprecated mio components #35

Open
tgockel opened this issue Jun 18, 2017 · 2 comments
Open

Remove or replace deprecated mio components #35

tgockel opened this issue Jun 18, 2017 · 2 comments

Comments

@tgockel
Copy link
Contributor

tgockel commented Jun 18, 2017

For the mio-0.6 changes, many components were deprecated and moved to the mio-more package. Unfortunately, this does not yet exist on crates.io and might not ever exist there -- the whole thing is unmaintained at the moment.

This leaves a few options...

  1. Rely on mio-more and trust that it will be published/maintained at some point in the future.
  2. Pull the requisite deprecated mio code into this package (it's ~250 lines...so not a huge burden).
  3. Switch to using Tokio.

Option 1 is rather optimistic -- trusting that an unmaintained open-source project will acquire a maintainer runs counter to every experience I have had.

Option 2 is also on the optimistic side -- while the lift is small now (copy and paste), it might not be so easy in the future.

Option 3 is the biggest lift, but I think it is best for long-term maintenance. The majority of the community seems to have embraced Tokio for the slightly-higher-level things. This library will inevitably embrace the futures portion of Tokio when implementing async methods (#5).

@bonifaido
Copy link
Owner

I vote for tokio as well, I was already thinking about when I was first seeing that project, which I guess is more mature now then it was by that time. It has a very nice documentation page now, with a lot of examples.

@krojew
Copy link

krojew commented Sep 25, 2019

I recommend switching to the latest tokio release with async/await support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants