SQLx is an async, pure Rust SQL crate that includes compile-time checked queries with no DSL. It is actually Asynchronous. Built from the ground-up utilizing async/await for max concurrency. It has help for PostgreSQL, MySQL, SQLite, and MSSQL.
SQLx helps compile-time checked queries. It doesn’t, nevertheless, do that by offering a Rust API or DSL (domain-specific language) for constructing queries. Instead, it gives macros that take common SQL as an enter and be sure that it’s legitimate in your database. The approach this works is that SQLx connects to your improvement DB at compile time to have the database itself confirm (and return some information on) your SQL queries.