awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Compile-Time Checked Rust SQL

Ranking updated Jun 30, 2026

Libraries and frameworks that provide type-safe SQL query validation during the Rust compilation process.

Compile-Time Checked Rust SQL

Find the best repos with AI.We'll search the best matching repositories with AI.
  • launchbadge/sqlxlaunchbadge avatar

    launchbadge/sqlx

    16,630View on GitHub↗

    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.

    RustConnection PoolingDatabase MigrationsType-Safe Database Clients
    View on GitHub↗16,630
  • diesel-rs/dieseldiesel-rs avatar

    diesel-rs/diesel

    14,021View on GitHub↗

    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.

    RustType-Safe Query Builders
    View on GitHub↗14,021

Related searches

  • an object relational mapper for Rust
  • typed code generated from my SQL
  • a TypeScript-first ORM for SQL databases
  • a type-safe ORM for Python
  • a database layer for Kotlin
  • a notebook for running SQL
  • an AI assistant for SQL queries
  • a desktop client for my SQL databases