Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from Diesel to SQLx? #97

Open
dbrgn opened this issue Sep 20, 2021 · 2 comments
Open

Move from Diesel to SQLx? #97

dbrgn opened this issue Sep 20, 2021 · 2 comments
Assignees

Comments

@dbrgn
Copy link
Owner

dbrgn commented Sep 20, 2021

https://github.com/launchbadge/sqlx

SQLx is not an ORM, it's more lightweight than Diesel. It provides slightly less static guarantees than Diesel, but still does compile-time verification of queries. (Note: I'm not sure how robust the offline mode is, we don't want to require a database just to compile the project.)

Main advantage is that it's async, so it integrates better with Rocket.

@dbrgn dbrgn self-assigned this Sep 20, 2021
@dbrgn
Copy link
Owner Author

dbrgn commented Dec 21, 2023

Currently blocked by launchbadge/sqlx#1361

@dbrgn
Copy link
Owner Author

dbrgn commented Dec 27, 2024

Could https://github.com/georust/geozero be a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant