Reqwest: Update tokio dependency to 0.2

Created on 26 Nov 2019  路  4Comments  路  Source: seanmonstar/reqwest

With the release of tokio 0.2, it seems like a good time to upgrade reqwest to take advantage of the new tokio scheduler.

This might also need downstream updates as well, particularly in hyper and hyper-tls.

A quick and dirty update of the Cargo.toml with tokio: "=0.2" results in :

failed to select a version for `tokio`.
    ... required by package `hyper v0.13.0-alpha.4`
    ... which is depended on by `hyper-tls v0.4.0-alpha.4`
    ... which is depended on by `reqwest v0.10.0-alpha.2`
versions that meet the requirements `= 0.2.0-alpha.6` are: 0.2.0-alpha.6

all possible versions conflict with previously selected packages.

  previously selected package `tokio v0.2.0`
    ... which is depended on by `reqwest v0.10.0-alpha.2`

failed to select a version for `tokio` which could resolve this conflict

Most helpful comment

Merged in #731.

All 4 comments

Blocked by hyperium/hyper#2025

The hyper issue is resolved, but I believe this still depends on the hyper-tls library getting upgraded as well: https://github.com/hyperium/hyper-tls/pull/51.

That blocker seems to have been merged.

Merged in #731.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hwchen picture hwchen  路  4Comments

samuela picture samuela  路  5Comments

martinlindhe picture martinlindhe  路  3Comments

29e7e280-0d1c-4bba-98fe-f7cd3ca7500a picture 29e7e280-0d1c-4bba-98fe-f7cd3ca7500a  路  6Comments

yageek picture yageek  路  5Comments