librespot-org / librespot

Open Source Spotify client library
MIT License
4.74k stars 583 forks source link

core: workaround for Session::connect() future being !Send #1066

Closed gdesmott closed 1 year ago

gdesmott commented 1 year ago

rsa::padding::PaddingScheme is !Send, making it impossible to call Session::connect() with an executor requiring Send futures, such as Rocket.

Fix #1065

roderickvd commented 1 year ago

Thanks. When the fix is released upstream, would you be so kind to update this so we may remove the unsafe code again?