Decision Workspace
pg_propre vs libpgfmt vs pgfmt
Side-by-side comparison of Rust crates
47
pg_propre
experimentalv0.8.0
Lightning-fast SQL indenter and linter powered by PostgreSQL's parser
60
libpgfmt
experimentalv1.2.2
A Rust library for formatting PostgreSQL SQL and PL/pgSQL
55
pgfmt
experimentalv2.1.9
A PostgreSQL SQL formatter
Core Metrics
| pg_propre | libpgfmt | pgfmt | |
|---|---|---|---|
| Health Score | 47 | 60 | 55 |
| Total Downloads | 203 | 729 | 246 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 15 | 0 |
| Releases | 8 | 13 | 11 |
| Last Updated | 30d ago | 5d ago | 5d ago |
| Age | 4m | 3m | 3m |
Health Breakdown
pg_propre
Maintenance
17
Quality
13
Community
6
Popularity
3
Documentation
8
libpgfmt
Maintenance
19
Quality
17
Community
9
Popularity
3
Documentation
12
pgfmt
Maintenance
19
Quality
17
Community
6
Popularity
3
Documentation
10
Technical Details
| pg_propre | libpgfmt | pgfmt | |
|---|---|---|---|
| Version | 0.8.0 | 1.2.2 | 2.1.9 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | PostgreSQL | BSD-3-Clause | BSD-3-Clause |
| Dependencies | 24 | 3 | 2 |
| Crate Size | 1.1MB | 81KB | 11KB |
| Features | 14 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.88 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •libpgfmt leads with a health score of 60/100, but none of the options score above 80.
- •pg_propre is pre-1.0 — API may change.