The bane of my existence: Supporting both async and sync code in Rust

The bane of my existence: Supporting both async and sync code in Rust

My journey trying to support both asynchronous and blocking code in the Rspotify library. I got it working in the end, but Cargo didn’t quite like it.

January 14, 2024 · 14 min · Mario Ortiz Manero