Decision Workspace
pg_stream vs pgrx vs postgres-types
Side-by-side comparison of Rust crates
43
pg_stream
experimentalv0.2.1
A low-level, zero-overhead Rust implementation of the Postgres wire protocol.
72
pgrx
growingv0.19.3
pgrx: A Rust framework for creating Postgres extensions
67
postgres-types
growingv0.2.14
Conversions between Rust and Postgres values
Core Metrics
| pg_stream | pgrx | postgres-types | |
|---|---|---|---|
| Health Score | 43 | 72 | 67 |
| Total Downloads | 364 | 2.0M | 78.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 237 | 2.7K |
| Releases | 3 | 62 | 21 |
| Last Updated | 165d ago | 12d ago | 119d ago |
| Age | 11m | 3y 5m | 6y 12m |
Health Breakdown
pg_stream
Maintenance
12
Quality
14
Community
4
Popularity
3
Documentation
10
pgrx
Maintenance
18
Quality
16
Community
15
Popularity
8
Documentation
15
postgres-types
Maintenance
15
Quality
16
Community
16
Popularity
8
Documentation
12
Technical Details
| pg_stream | pgrx | postgres-types | |
|---|---|---|---|
| Version | 0.2.1 | 0.19.3 | 0.2.14 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 13 | 13 | 25 |
| Crate Size | 72KB | 216KB | 42KB |
| Features | 4 | 12 | 22 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.96 | 1.85 |
| Owners | 1 | 3 | 2 |
Links
Quick Verdict
- •pgrx leads with a health score of 72/100, but none of the options score above 80.
- •postgres-types has the most downloads (78.8M), suggesting wider adoption.
- •postgres-types is depended on by 2.7K crates — strongest ecosystem trust.