pg_query
v6.1.1 GrowingPostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree.
Quick Verdict
- โStable API (6.x for 5+ years)
- โTrusted by 228 crates
- โPermissive license (MIT)
Security
Deep Insights
100.4K downloads in the last 30 days, down 33% from the previous period. May indicate migration to alternatives.
228 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 17 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, postgres-syntax. 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