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

Is it possible to build a tokio compatible library that might not be so heavy weight? Maybe this a moot point since libraries would use tokio as a dependency anyway.



Smol is essentially that iirc.

https://github.com/smol-rs/smol

Though I have not used it extensively.


Can you elaborate on "heavy weight"? Tokio lets you opt-in to only what you need via feature flags. This lets you use a small subset of the lines of code & transitive deps.




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

Search: