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

[dependencies]: upgrade tokio to v0.3 #133

Closed
wants to merge 3 commits into from
Closed

[dependencies]: upgrade tokio to v0.3 #133

wants to merge 3 commits into from

Conversation

niklasad1
Copy link
Member

The PR upgrades tokio to v0.3 but hyper v0.13 still requires tokio v0.2 so it requires a compat layer which causes us to have both tokio v0.2 and v0.3 in the dependency graph.

Nothing urgent, we can wait on hyper to update or just accept a bigger dependency tree for now.

@maciejhirsz
Copy link
Contributor

Is there a rough ETA for hyper running on new tokio?

@dvdplm
Copy link
Contributor

dvdplm commented Oct 16, 2020

Is there a rough ETA for hyper running on new tokio?

There's a ticket up. First step is to port h2 which is likely a bit involved because of the changes to AsyncRead and AsyncWrite traits; the new tokio implements rust-lang/rfcs#2930

So I suspect it might be a while.

@niklasad1
Copy link
Member Author

It seems like hyper v0.14 is quite close to a release, so let's wait for it.

@niklasad1
Copy link
Member Author

Let's migrate directly to tokio 1.0 instead

@niklasad1 niklasad1 closed this Jan 4, 2021
@niklasad1 niklasad1 deleted the v2-tokio-v0.3 branch January 11, 2021 09:36
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

Successfully merging this pull request may close these issues.

3 participants