sqlx-pool
CommunityShare PgPool safely across Axum & Leptos.
Authoradelabdelgawad
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automates robust PgPool setup and safe sharing across Axum and Leptos contexts, reducing boilerplate and preventing misconfigurations.
Core Features & Use Cases
- Pool construction with PgPoolOptions (max/min connections, acquire/idle/lifetime timeouts, test_before_acquire)
- Sharing via Axum State and Leptos provide_context, including FromRef sub-state extraction
- Lifecycle and safety guidance for Send-safety, long-running tasks, and proper pool usage across components
Quick Start
Configure PgPool at startup and wire it into Axum handlers and Leptos server functions.
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-pool Download link: https://github.com/adelabdelgawad/rust-fullstack-agents/archive/main.zip#sqlx-pool 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.