Hacker News new | past | comments | ask | show | jobs | submit login

When all the examples are marked with `#[tokio::main]`, it probably requires tokio.

Although I guess they do implement Future on their own so it shouldn't need a specific runtime then.

https://github.com/fortress-build/whirlwind/blob/main/src/sh...




They're just using tokio as a dev dependency. You could use this with any async runtime

https://github.com/fortress-build/whirlwind/blob/main/Cargo....


Tokio is just used for async tests and the examples, the crate doesn’t depend on any specific async runtime :)




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

Search: