Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hey just FYI, when you run the hackernews and explore examples without enabling the tokio feature flag, you get compilation errors about undeclared types for all the tokio stuff. I think these examples just need entires in the Cargo.toml requiring the tokio feature like the reddit example.

Once I add the tokio feature, they all run as expected.



Thanks, you're right. I fixed it just now by also requiring the tokio feature for all the tests in the Cargo.toml.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: