And then copied async-server into a new main.rs file and tried running it with cargo run, and it failed with weird tokio errors, like "failed to resolve: could not find reactor in tokio".
I tried the same thing with the autobahn async server example, similar errors.
I added this to my dependencies:
And then copied async-server into a new main.rs file and tried running it with
cargo run
, and it failed with weird tokio errors, like "failed to resolve: could not findreactor
intokio
".I tried the same thing with the autobahn async server example, similar errors.
What am I doing wrong?