Decision Workspace
sqlx-models-derive vs sqlx-models-orm vs rok-db
Side-by-side comparison of Rust crates
48
sqlx-models-derive
growingv0.8.7
Procedural macros for sqlx-models
43
sqlx-models-orm
growingv0.8.7
ActiveRecord based on SQLx for Postgres
55
rok-db
experimentalv0.4.0
An ergonomic, type-safe async ORM for PostgreSQL built on sqlx
Core Metrics
| sqlx-models-derive | sqlx-models-orm | rok-db | |
|---|---|---|---|
| Health Score | 48 | 43 | 55 |
| Total Downloads | 19.7K | 21.2K | 215 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 18 | 0 | 5 |
| Releases | 16 | 18 | 4 |
| Last Updated | 129d ago | 129d ago | today |
| Age | 4y 4m | 4y 4m | 6d |
Health Breakdown
sqlx-models-derive
Maintenance
12
Quality
11
Community
8
Popularity
5
Documentation
12
sqlx-models-orm
Maintenance
12
Quality
9
Community
5
Popularity
5
Documentation
12
rok-db
Maintenance
14
Quality
16
Community
7
Popularity
3
Documentation
15
Technical Details
| sqlx-models-derive | sqlx-models-orm | rok-db | |
|---|---|---|---|
| Version | 0.8.7 | 0.8.7 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 12 | 11 |
| Crate Size | 9KB | 27KB | 65KB |
| Features | 0 | 0 | 10 |
| Yanked % | 18.8% | 11.1% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.56 | 1.56 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rok-db leads with a health score of 55/100, but none of the options score above 80.
- •sqlx-models-orm has the most downloads (21.2K), suggesting wider adoption.