The Rust SQL Toolkit: an async, pure Rust SQL crate with compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
# Cargo.toml
[dependencies]
sqlx = "0.8.6"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connect to an in-memory SQLite database and execute a compile-time checked query.
Add tokio as a dependency and use #[tokio::main] or similar runtime
Set DATABASE_URL environment variable or use query_as! with offline mode
No dependency data recorded yet.