Decision Workspace
pgnumeric vs pgrx vs postgres-types
Side-by-side comparison of Rust crates
40
pgnumeric
growingv0.2.1
Arbitrary precision numeric implementation written in Rust, compatible with PostgreSQL's numeric.
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
| pgnumeric | pgrx | postgres-types | |
|---|---|---|---|
| Health Score | 40 | 72 | 67 |
| Total Downloads | 5.9K | 2.0M | 78.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 237 | 2.7K |
| Releases | 4 | 62 | 21 |
| Last Updated | 2234d ago | 12d ago | 119d ago |
| Age | 6y 5m | 3y 5m | 6y 12m |
Health Breakdown
pgnumeric
Maintenance
6
Quality
14
Community
3
Popularity
5
Documentation
12
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
| pgnumeric | pgrx | postgres-types | |
|---|---|---|---|
| Version | 0.2.1 | 0.19.3 | 0.2.14 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 8 | 13 | 25 |
| Crate Size | 66KB | 216KB | 42KB |
| Features | 1 | 12 | 22 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 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.
- •⚠ pgnumeric has not been updated in over a year.