async_once icon indicating copy to clipboard operation
async_once copied to clipboard

add dependency sea-orm and then not work

Open velasco300 opened this issue 4 years ago • 2 comments

add dependency sea-orm and then not work

velasco300 avatar Feb 26 '22 08:02 velasco300

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.

junbl avatar Apr 19 '22 20:04 junbl