rustio rustio.net
52

pg_query

v6.1.1 Growing

PostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree.

MIT Edition 2021

Quick Verdict

  • โœ“Stable API (6.x for 5+ years)
  • โœ“Trusted by 162 crates
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
1.4M
Dependents
162
Releases
17
Size
2.0MB

Deep Insights

๐Ÿ“Š
Stable downloads

138.5K downloads in the last 30 days (4.6K/day). Volume is roughly flat compared to the previous period.

๐Ÿ”—
Moderate adoption

162 crates depend on pg_query. Reasonable ecosystem adoption, though not yet a core dependency.

โœ…
Stable for 5+ years

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.

๐Ÿ“
Large crate size

2.0MB is relatively large. May impact download and compile times.

๐ŸŒŸ
Used by top crates

Notable dependents include eugene, diesel-guard, prew, reshape, postgres-syntax. When high-quality crates choose pg_query, it's a strong quality signal.

Health Breakdown

Maintenance 9/25

Recency, release consistency, active ratio

Quality 12/25

Yanked ratio, deps, size, maturity, features

Community 11/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 13/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
5K/day avg+13%
05K10K2/263/164/34/215/95/26

Top Dependents

Version Adoption

v5.1.0
91%
v6.1.1
6%
v6.1.0
2%
v6.0.0
1%
v0.8.2
0%

Release Timeline

10 releasessince 2022
J
F
M
A
M
J
J
A
S
O
N
D
2022
1
2023
3
2024
4
2025
2
2026
Less
More

README

Loading README...

Maintainers

Dependencies
14
direct dependencies
Dependents
162
crates depend on pg_query