by cschneid · 3y ago · 0 comments
The only downside is that you have to install sqlx-cli and you have to run a couple of special commands to make your binary compile offline or on CI/CD where you don’t provide that database connection.
You can adapt from async to sync but there is a definite complexity tax with all the pinning plus the runtime cost of the extra pinning.
Async is great for more proxy like use cases though.