this post was submitted on 30 Mar 2022
7 points (100.0% liked)
Rust Programming
8438 readers
41 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you're just doing static queries against one database, sqlx will probably be your best friend. You can easily access the raw power of the database using a simple async API. Diesel starts to get more powerful when you change your queries based on something like parameters to a web API. You can do that yourself, but you'll be reinventing the wheel (and probably adding in vulnerabilities).