Decision Workspace
postgresql_embedded vs pg-embed vs postgresql_commands
Side-by-side comparison of Rust crates
61
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.
61
pg-embed
stablev1.0.0
Run a Postgresql database locally on Linux, MacOS or Windows as part of another Rust application or test.
61
postgresql_commands
growingv0.20.2
PostgreSQL commands for interacting with a PostgreSQL server.
Core Metrics
| postgresql_embedded | pg-embed | postgresql_commands | |
|---|---|---|---|
| Health Score | 61 | 61 | 61 |
| Total Downloads | 1.9M | 201.0K | 1.9M |
| 30d Downloads | 353.8K | 10.1K | 352.7K |
| Dependents | 401 | 64 | 118 |
| Releases | 62 | 28 | 42 |
| Last Updated | 93d ago | 90d ago | 93d ago |
| Age | 2y 3m | 5y 2m | 2y 1m |
Health Breakdown
postgresql_embedded
Maintenance
14
Quality
15
Community
12
Popularity
8
Documentation
12
pg-embed
Maintenance
13
Quality
16
Community
11
Popularity
6
Documentation
15
postgresql_commands
Maintenance
14
Quality
16
Community
11
Popularity
8
Documentation
12
Technical Details
| postgresql_embedded | pg-embed | postgresql_commands | |
|---|---|---|---|
| Version | 0.20.2 | 1.0.0 | 0.20.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | (Apache-2.0 OR MIT) AND PostgreSQL | MIT/Apache-2.0 | (Apache-2.0 OR MIT) AND PostgreSQL |
| Dependencies | 19 | 13 | 5 |
| Crate Size | 43KB | 272KB | 52KB |
| Features | 9 | 3 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.92.0 | 1.88 | 1.92.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •postgresql_embedded leads with a health score of 61/100, but none of the options score above 80.
- •postgresql_commands has the most downloads (1.9M), suggesting wider adoption.
- •postgresql_embedded is depended on by 401 crates — strongest ecosystem trust.
- •postgresql_embedded, postgresql_commands are pre-1.0 — API may change.