Decision Workspace
pg-embed-alternative vs pg-embed vs postgresql_embedded
Side-by-side comparison of Rust crates
40
pg-embed-alternative
growingv0.8.0-rc1
Run a Postgresql database locally on Linux, MacOS or Windows as part of another Rust application or test.
64
pg-embed
stablev1.0.0
Run a Postgresql database locally on Linux, MacOS or Windows as part of another Rust application or test.
63
postgresql_embedded
growingv0.20.2
Install and run a PostgreSQL database locally on Linux, MacOS or Windows. PostgreSQL can be bundled with your application, or downloaded on demand.
Core Metrics
| pg-embed-alternative | pg-embed | postgresql_embedded | |
|---|---|---|---|
| Health Score | 40 | 64 | 63 |
| Total Downloads | 2.5K | 184.1K | 1.3M |
| 30d Downloads | 79 | 8.0K | 271.1K |
| Dependents | 6 | 64 | 344 |
| Releases | 1 | 28 | 62 |
| Last Updated | 635d ago | 31d ago | 34d ago |
| Age | 1y 9m | 5y | 2y 1m |
Health Breakdown
pg-embed-alternative
Maintenance
1
Quality
15
Community
8
Popularity
4
Documentation
12
pg-embed
Maintenance
16
Quality
16
Community
11
Popularity
6
Documentation
15
postgresql_embedded
Maintenance
17
Quality
15
Community
12
Popularity
7
Documentation
12
Technical Details
| pg-embed-alternative | pg-embed | postgresql_embedded | |
|---|---|---|---|
| Version | 0.8.0-rc1 | 1.0.0 | 0.20.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | (Apache-2.0 OR MIT) AND PostgreSQL |
| Dependencies | 15 | 13 | 19 |
| Crate Size | 17KB | 272KB | 43KB |
| Features | 3 | 3 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.88 | 1.92.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •pg-embed leads with a health score of 64/100, but none of the options score above 80.
- •postgresql_embedded has the most downloads (1.3M), suggesting wider adoption.
- •postgresql_embedded is depended on by 344 crates — strongest ecosystem trust.
- •⚠ pg-embed-alternative has not been updated in over a year.
- •pg-embed-alternative, postgresql_embedded are pre-1.0 — API may change.