-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update tokio
to 1.0
#1060
Comments
This actually seems to prevent upstream binaries from upgrading to
|
Looking at reqwest dependency tree we are also blocked by the dependency chain
|
Use asynchronous execution using tokio, switch to the influxdb crate, which uses reqwests (in its asynchronous APIs). Downgrade to tokio 0.2.x, because mixing 0.2.x and 0.3.x in the same process does not work. See seanmonstar/reqwest#1060.
Use asynchronous execution using tokio, switch to the influxdb crate, which uses reqwests (in its asynchronous APIs). Downgrade to tokio 0.2.x, because mixing 0.2.x and 0.3.x in the same process does not work. See seanmonstar/reqwest#1060.
Use asynchronous execution using tokio, update to a newer influxdb crate that uses reqwests. Downgrade to tokio 0.2.x, because mixing 0.2.x and 0.3.x in the same process does not work. See seanmonstar/reqwest#1060.
N.B. this also means that trying to use reqwest from a tokio 0.3 runtime will give you this rather cryptic panic: tokio-rs/tokio#1837 |
@seanmonstar Is there anything I can do to help get this done faster? Could we do a point release? |
This is waiting on hyper 0.14, which can be tracked here: https://github.com/hyperium/hyper/milestone/6 Progress keeps being made there :) |
This is a known issue: seanmonstar/reqwest#1060.
I got reqwest to compile by cloning patched versions of
My project's integration test now builds and runs. The [dependencies]
rustls = "0.18"
tokio = { version = "0.3", features = ["macros", "stream", "sync", "time"] }
tokio-rustls = "0.20"
[dev-dependencies]
reqwest = { path = "../deps/reqwest", features = ["rustls-tls"] }
tokio = { version = "0.3", features = ["fs", "macros", "net", "rt-multi-thread", "signal"] }
tokio-test = "0.3" Thank you, all of you who are updating reqwest and its dependencies! :) EDIT: Add |
Looks like we have tokio 1.0 available along with new hyper. |
@seanmonstar Is there anything I can do to help get this done faster? Could we do a point release? |
@sinanameh hyper-tls needs to have hyperium/hyper-tls#79 merged and a new version released first. |
hyper-tls has released v0.5.0 for tokio 1.0, so that's one blocker gone. |
This was done in #1076. Release coming today. |
New version of tokio is released
reqwest vesrion of tokio is 0.2 Cargo.toml
Better upgrade, to avoid downloading two versions of tokio in projects
The text was updated successfully, but these errors were encountered: