This skill bridges the gap in Claude's knowledge regarding the evolution of SQLx, the popular Rust SQL toolkit, covering updates released between 2025-01 and 2025-10. It provides the necessary context for Claude to handle modern SQLx patterns such as the SqlSafeStr security requirement, owned Arguments without lifetimes, and the new sqlx.toml configuration system. By using this patch, developers can ensure that Claude generates code compatible with the latest alpha releases, correctly implements complex transactions via begin_with, and navigates the significant breaking changes introduced in the 0.9.x migration.
主な機能
01Comprehensive migration guide for SQLx 0.8 to 0.9 breaking changes
02Support for Postgres geometry types, IPNet mappings, and SQLite hooks
0319 GitHub stars
04Implementation patterns for the new SqlSafeStr and AssertSqlSafe query safety system
05Guidance on using lifetime-free Arguments and owned values in database queries
06Documentation for per-DB transaction options and the begin_with API
ユースケース
01Upgrading a Rust web service from SQLx 0.7 or 0.8 to the 0.9 alpha release
02Refactoring dynamic SQL query builders to comply with new type-safety requirements
03Implementing custom transaction isolation levels and read-only database connections