Decision Workspace
pgfmt vs libpgfmt vs pg_propre
Side-by-side comparison of Rust crates
57
pgfmt
growingv2.3.1
A PostgreSQL SQL formatter
61
libpgfmt
growingv1.5.0
A Rust library for formatting PostgreSQL SQL and PL/pgSQL
45
pg_propre
experimentalv0.10.0
Lightning-fast SQL indenter and linter powered by PostgreSQL's parser
Core Metrics
| pgfmt | libpgfmt | pg_propre | |
|---|---|---|---|
| Health Score | 57 | 61 | 45 |
| Total Downloads | 347 | 1.3K | 298 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 23 | 0 |
| Releases | 15 | 16 | 10 |
| Last Updated | 16d ago | 16d ago | 80d ago |
| Age | 6m | 6m | 7m |
Health Breakdown
pgfmt
Maintenance
18
Quality
18
Community
6
Popularity
3
Documentation
12
libpgfmt
Maintenance
18
Quality
17
Community
10
Popularity
4
Documentation
12
pg_propre
Maintenance
15
Quality
13
Community
6
Popularity
3
Documentation
8
Technical Details
| pgfmt | libpgfmt | pg_propre | |
|---|---|---|---|
| Version | 2.3.1 | 1.5.0 | 0.10.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | BSD-3-Clause | BSD-3-Clause | PostgreSQL |
| Dependencies | 2 | 3 | 24 |
| Crate Size | 12KB | 161KB | 1.1MB |
| Features | 0 | 0 | 14 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.96 | 1.96 | — |
| 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 is pre-1.0 — API may change.