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.<p>[0] <a href="https://lib.rs/crates/genawaiter" rel="nofollow">https://lib.rs/crates/genawaiter</a>
I wonder how it would be if Rust, like Scala came with a very basic executor? For me external crates no matter how popular, seem a no-go because of them constantly changing.