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

Fail to install 0.5.0 #277

Closed
dsferruzza opened this issue Aug 25, 2022 · 0 comments
Closed

Fail to install 0.5.0 #277

dsferruzza opened this issue Aug 25, 2022 · 0 comments

Comments

@dsferruzza
Copy link

Hi!

When I try to install dummyhttp 0.5.0 using cargo, I get the following error:

error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled.
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/dummyhttp-0.5.0/src/main.rs:219:1
    |
219 | #[tokio::main]
    | ^^^^^^^^^^^^^^
    |
    = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `dummyhttp` due to previous error
error: failed to compile `dummyhttp v0.5.0`, intermediate artifacts can be found at `/tmp/cargo-installuu9WOk`

This feels like you need to enable additional features to your tokio dependency, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant