4 ms·
> Um, yes. I've been trying to talk the "async" crowd down from making libraries async only. There's no such thing as "async only" in Rust. You can always run
by zozbot234 5y ago
> Um, yes. I've been trying to talk the "async" crowd down from making libraries async only.
There's no such thing as "async only" in Rust. You can always run tasks synchronously using block_on. Rust uses a principled approach to resolve the "function color" issue for async.