rustio rustio.net
53

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 4+ years)
  • โœ“Trusted by 132 crates
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
1.2M
Dependents
132
Releases
17
Size
2.0MB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

126.1K downloads in the last 30 days (4.2K/day), up 117% from the previous period.

๐Ÿ”—
Moderate adoption

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

โœ…
Stable for 4+ years

The API has been stable (1.x) for over 4 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, prew, reshape, squawk-parser, postgres-syntax. When high-quality crates choose pg_query, it's a strong quality signal.

Health Breakdown

Maintenance 10/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
3K/day avg+143%
02K4K6K8K10K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v5.1.0
91%
v6.1.1
5%
v6.1.0
3%
v6.0.0
1%
v0.8.2
1%

Release Timeline

17 releases1 yankedsince 2021
J
F
M
A
M
J
J
A
S
O
N
D
2021
6
2022
2
2023
3
2024
4
2025
2
2026
Less
More|
Yanked

README

Loading README...

Maintainers

Dependencies
14
direct dependencies
Dependents
132
crates depend on pg_query