4 ms·
On the note of runtimes that are “outside the boxes” of tokio and async-std, I found a really cool generator lib [0] for Rust that uses async/await (and has mac
by sdegutis 7y ago
On the note of runtimes that are “outside the boxes” of tokio and async-std, I found a really cool generator lib [0] for Rust that uses async/await (and has macro API to hide this if you want) but implements an extremely simple runtime that just implements the semantics of generators. I thought it was absolutely genius and underrated.
[0] https://lib.rs/crates/genawaiter https://lib.rs/crates/genawaiter