Decision Workspace
sqlx-pg-migrate vs refinery vs sqlmodel-schema
Side-by-side comparison of Rust crates
39
sqlx-pg-migrate
growingv1.2.0
A library to run migrations on a PostgreSQL database using SQLx.
56
refinery
growingv0.9.0
Powerful SQL migration toolkit for Rust
54
sqlmodel-schema
experimentalv0.2.1
Schema definition and migration support for SQLModel Rust
Core Metrics
| sqlx-pg-migrate | refinery | sqlmodel-schema | |
|---|---|---|---|
| Health Score | 39 | 56 | 54 |
| Total Downloads | 15.5K | 6.6M | 171 |
| 30d Downloads | 84 | 611.1K | 98 |
| Dependents | 0 | 334 | 8 |
| Releases | 8 | 30 | 3 |
| Last Updated | 1507d ago | 168d ago | 6d ago |
| Age | 5y 9m | 10y 4m | 1m |
Health Breakdown
sqlx-pg-migrate
Maintenance
4
Quality
19
Community
2
Popularity
5
Documentation
9
refinery
Maintenance
9
Quality
13
Community
14
Popularity
8
Documentation
12
sqlmodel-schema
Maintenance
14
Quality
13
Community
9
Popularity
3
Documentation
15
Technical Details
| sqlx-pg-migrate | refinery | sqlmodel-schema | |
|---|---|---|---|
| Version | 1.2.0 | 0.9.0 | 0.2.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 6 | 9 | 5 |
| Crate Size | 5KB | 33KB | 59KB |
| Features | 0 | 13 | 0 |
| Yanked % | 0.0% | 16.7% | 0.0% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •refinery leads with a health score of 56/100, but none of the options score above 80.
- •refinery is depended on by 334 crates — strongest ecosystem trust.
- •⚠ sqlx-pg-migrate has not been updated in over a year.
- •refinery, sqlmodel-schema are pre-1.0 — API may change.