Open velasco300 opened 2 years ago
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
.
add dependency sea-orm and then not work