You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running examples with the current cargo.toml (hyper 0.14), I'm getting the following error from hyper:
thread 'main' panicked at 'executor must be set', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.15/src/common/exec.rs:54:21
Happening here in hyper:
#[cfg(feature = "tcp")]
{
tokio::task::spawn(fut);
}
#[cfg(not(feature = "tcp"))]
{
// If no runtime, we need an executor!
panic!("executor must be set")
}
Looking at the above and just adding the "tcp" feature to hyper dependencies fixes the problem:
hyper = { version = "0.14", features = ["client", "http2", "tcp"] }
Does it work for you without the "tcp" feature?
The text was updated successfully, but these errors were encountered:
When running examples with the current cargo.toml (hyper 0.14), I'm getting the following error from hyper:
Happening here in hyper:
Looking at the above and just adding the "tcp" feature to hyper dependencies fixes the problem:
Does it work for you without the "tcp" feature?
The text was updated successfully, but these errors were encountered: