Decision Workspace
pg_propre vs libpgfmt vs grebe-syntax
Side-by-side comparison of Rust crates
45
pg_propre
experimentalv0.10.0
Lightning-fast SQL indenter and linter powered by PostgreSQL's parser
61
libpgfmt
growingv1.5.0
A Rust library for formatting PostgreSQL SQL and PL/pgSQL
59
grebe-syntax
experimentalv0.6.0
DuckDB SQL parser built from DuckDB's own PEG grammar: tokenizer, packrat matcher, lossless CST.
Core Metrics
| pg_propre | libpgfmt | grebe-syntax | |
|---|---|---|---|
| Health Score | 45 | 61 | 59 |
| Total Downloads | 298 | 1.3K | 154 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 23 | 25 |
| Releases | 10 | 16 | 6 |
| Last Updated | 80d ago | 16d ago | 5d ago |
| Age | 7m | 6m | 7d |
Health Breakdown
pg_propre
Maintenance
15
Quality
13
Community
6
Popularity
3
Documentation
8
libpgfmt
Maintenance
18
Quality
17
Community
10
Popularity
4
Documentation
12
grebe-syntax
Maintenance
19
Quality
15
Community
10
Popularity
3
Documentation
12
Technical Details
| pg_propre | libpgfmt | grebe-syntax | |
|---|---|---|---|
| Version | 0.10.0 | 1.5.0 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | PostgreSQL | BSD-3-Clause | MIT |
| Dependencies | 24 | 3 | 0 |
| Crate Size | 1.1MB | 161KB | 52KB |
| Features | 14 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.96 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •libpgfmt leads with a health score of 61/100, but none of the options score above 80.
- •pg_propre, grebe-syntax are pre-1.0 — API may change.