Hacker News new | ask | show | jobs
by scudd 2000 days ago
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.

1 comments

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