Skip to content
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

cannot find rt error when building v0.7.0 #154

Closed
prabirshrestha opened this issue Nov 12, 2023 · 0 comments · Fixed by #155
Closed

cannot find rt error when building v0.7.0 #154

prabirshrestha opened this issue Nov 12, 2023 · 0 comments · Fixed by #155
Assignees
Labels
bug Something isn't working

Comments

@prabirshrestha
Copy link

Create an empty cargo bin repo.

Add this dependency.

[dependencies]
socketioxide = { version = "0.7.0", features = ["hyper-v1", "tracing"] }
tokio = { version = "1.34.0", features = ["rt-multi-thread", "macros"] }

Get the following error.

/Users/prabirshrestha/code/x$ cargo build
   Compiling engineioxide v0.7.0
error[E0433]: failed to resolve: could not find `rt` in `hyper_util`
  --> /Users/prabirshrestha/.cargo/registry/src/index.crates.io-6f17d22bba15001f/engineioxide-0.7.0/src/transport/ws.rs:88:38
   |
88 |                     .map(hyper_util::rt::TokioIo::new),
   |                                      ^^ could not find `rt` in `hyper_util`

For more information about this error, try `rustc --explain E0433`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants