async_once
async_once copied to clipboard
add dependency sea-orm and then not work
add dependency sea-orm and then not work
I have this same issue. Spent some time trying to track it down without a lot of luck. I determined that it's only when the "sqlx-mysql" feature is enabled. The actual error is that a 'static dyn Future isn't Send/Sync---pretty much the same error you'd get if you used a Pin<Box<dyn Future<>>> instead of the AsyncOnce.