Deno: Tokio 0.2 upgrade

Created on 20 Nov 2019  路  5Comments  路  Source: denoland/deno

Opening for tracking purposes.

I'm trying to update Deno to Tokio master branch (pending 0.2 release).

For know it seems we have two dependencies blocking the transition:

  • tokio-rustls - resources: clientTlsStream, serverTlsStream
  • reqwest - resource: httpBody

Problems are related to AsyncRead/AsyncWrite traits as well as fact that we create tls connections from TcpStream which is incompatible with master branch.

These two dependencies are in already in alpha (just like tokio) so I expect they should be release one after another in short period.

Most helpful comment

Tokio has landed! https://github.com/tokio-rs/tokio/releases/tag/tokio-0.2.0

I'll be working on the upgrade

All 5 comments

Tokio has landed! https://github.com/tokio-rs/tokio/releases/tag/tokio-0.2.0

I'll be working on the upgrade

tokio-rustls landed with Tokio 0.2 support.

Still waiting on https://github.com/seanmonstar/reqwest/issues/721

@bartlomieju Reqwest has been updated.

@bartlomieju Reqwest has been updated.

Yes, I'm still waiting on release, but I guess I can use git rev until then

Done in #3418!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

justjavac picture justjavac  路  3Comments

motss picture motss  路  3Comments

CruxCv picture CruxCv  路  3Comments

somombo picture somombo  路  3Comments

ry picture ry  路  3Comments