rustio rustio.net

postgresql_embedded vs pg-embed vs postgresql_commands

Side-by-side comparison of Rust crates

Core Metrics

postgresql_embeddedpg-embedpostgresql_commands
Health Score636463
Total Downloads1.3M184.1K1.3M
30d Downloads262.0K7.7K273.6K
Dependents34464115
Releases622842
Last Updated34d ago31d ago34d ago
Age2y 1m5y1y 11m

Health Breakdown

postgresql_embedded
Maintenance
17
Quality
15
Community
12
Popularity
7
Documentation
12
pg-embed
Maintenance
16
Quality
16
Community
11
Popularity
6
Documentation
15
postgresql_commands
Maintenance
17
Quality
16
Community
11
Popularity
7
Documentation
12

Technical Details

postgresql_embeddedpg-embedpostgresql_commands
Version0.20.21.0.00.20.2
Stable (≥1.0)✗ No✓ Yes✗ No
License(Apache-2.0 OR MIT) AND PostgreSQLMIT/Apache-2.0(Apache-2.0 OR MIT) AND PostgreSQL
Dependencies19135
Crate Size43KB272KB52KB
Features932
Yanked %0.0%0.0%0.0%
Edition202420242024
MSRV1.92.01.881.92.0
Owners111

Quick Verdict

  • pg-embed leads with a health score of 64/100, but none of the options score above 80.
  • postgresql_commands has the most downloads (1.3M), suggesting wider adoption.
  • postgresql_embedded is depended on by 344 crates — strongest ecosystem trust.
  • postgresql_embedded, postgresql_commands are pre-1.0 — API may change.