sqlx-types
CommunityAccurate Postgres-to-Rust type mapping with sqlx.
Authoradelabdelgawad
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automatically align Postgres column types with safe, idiomatic Rust types in SQLx, preventing runtime type mismatches and cryptic errors.
Core Features & Use Cases
- Pattern-driven mappings for common Postgres types to Rust equivalents.
- Guidance for enabling sqlx features (uuid, chrono, json, rust_decimal) and using sqlx::Type derives and Json<T> wrappers.
- Use cases include deriving sqlx::FromRow, mapping UUIDs, timestamps, JSONB, and numeric types.
Quick Start
Add sqlx features to Cargo.toml and derive FromRow on your structs to begin mapping Postgres types.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sqlx-types Download link: https://github.com/adelabdelgawad/rust-fullstack-agents/archive/main.zip#sqlx-types Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.