Y
Hacker News
new
|
ask
|
show
|
jobs
by
lcall
1091 days ago
I'm no expert on all the details, but I found you can use (at least with tokio) runtime.block_on() to call async (sqlx) code from non-async (my) code. Ctrl-F to see my other comment about block_on, here.