4 ms·
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 an
by redman25 4y ago
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.
- tempest_ 4y agoSmol is essentially that iirc. https://github.com/smol-rs/smol https://github.com/smol-rs/smol Though I have not used it extensively.
- carllerche 4y agoCan 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.