pg_query
v6.2.1 StablePostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree.
Quick Verdict
- โActively maintained (updated 9d ago)
- โStable API (6.x for 5+ years)
- โTrusted by 430 crates
- โPermissive license (MIT)
Security
Deep Insights
593.8K downloads in the last 30 days (19.8K/day), up 60% from the previous period.
430 crates depend on pg_query. Reasonable ecosystem adoption, though not yet a core dependency.
The API has been stable (1.x) for over 5 years with 19 releases. This level of maturity means you can depend on it without worrying about breaking changes.
2.0MB is relatively large. May impact download and compile times.
Notable dependents include diesel-guard, eugene, prew, reshape, systemprompt-database. When high-quality crates choose pg_query, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata