News for hackers. Stuff that matters.
Re:Async Rust: What is a runtime? how Tokio works under the ... by redman25 on Saturday July 16, 2022 @12:33PM (#32119600)
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.
Re:Async Rust: What is a runtime? how Tokio works under the ... by tempest_ on Saturday July 16, 2022 @02:24PM (#32120556)
Smol is essentially that iirc.

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

Though I have not used it extensively.

Re:Async Rust: What is a runtime? how Tokio works under the ... by carllerche on Saturday July 16, 2022 @07:36PM (#32122946)
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.