http2::handshake()
is useless in 1.0 given no default executor
#3128
Labels
B-breaking-change
Blocked: this is an "API breaking change".
C-bug
Category: bug. Something is wrong. This is bad!
Milestone
Version
hyper 1.0.0-rc2
Description
hyper::client::conn::http2::handshake(io).await
causes an instant panic. Internally it performsBuilder::new().handshake(io).await
which uses theExec::Default
executor. There is no longer a defaulttokio
runtime implied since the removal of theruntime
feature.https://github.com/hyperium/hyper/blob/master/src/common/exec.rs#L36-L38
There is a TODO in this file to refactor executors. But I couldn't find a relevant issue, so I wanted to open one to ensure this doesn't get included in the official release
The text was updated successfully, but these errors were encountered: