مكتبات وأطر عمل توفر التحقق من استعلامات SQL بشكل آمن من حيث النوع أثناء عملية تجميع (compilation) كود Rust.
This toolkit provides an asynchronous interface for interacting with relational databases, offering a unified driver-agnostic layer for managing connection pools and executing transactions. It is designed to integrate with asynchronous runtimes, enabling non-blocking database operations while maintaining secure, encrypted communication between the application and the database server. The project distinguishes itself through its compile-time validation capabilities, which use procedural macros to inspect SQL syntax and parameter types against a live database schema during the build process. Th
SQLx is a Rust library that uses procedural macros to validate SQL syntax and parameter types at compile time against a live database, providing type-safe query results and supporting multiple databases, connection pooling, and migrations—exactly matching the required features.
This project is a type-safe database toolkit and object-relational mapper designed to enforce structural consistency between database schemas and application code. By leveraging compile-time validation, it ensures that SQL queries and data structures remain synchronized, preventing common errors before the application executes. It provides a comprehensive framework for relational data modeling, allowing developers to define table associations and map database results directly into strongly-typed language objects. The library distinguishes itself through its focus on compile-time safety and au
Diesel is the Rust ORM and query builder that enforces compile-time schema-aware SQL validation, type-safe query results via a macro-based DSL, and includes support for multiple databases, connection pooling, and migrations—exactly the library you need for compile-time checked SQL.